14
Reply

Convert from hexadecimal to bytes

kyle

kyle

Nov 25 2008 8:53 PM
37.7k
Hello Everyone,

I am reading in hexadecimal values into a C# program that are coming in the serial port buffer as ASCII text representation of hex.  I need to convert this down to the bit level so I can see certain 0's become 1's when specific switches are toggled.  How would I accomplish this?

Thank you in advance for your help.

Answers (14)