HI all
Please can you help me
I am truing to convert a dec number(0-255) into a Hex number that must be send with Serial
to an Controller as in the example attached convert 180dec to hex which is B4 however when I send it to the serial I get 1 byte for B and 1 byte for 4
thus instead of sending the oxB4 as one byte I have 2 bytes 0x0B and 0x04 .
What am I doing wrong please help me out
any help hints is appreciated
Regards
Help with Strings and hex
Re: Help with Strings and hex
Is this what you need ?
Re: Help with Strings and hex
Dear funkybaer
Thank you very much for your help this seems it will work,or is correct,I will give it a go next week when at work again.
much appreciated
Regards
Thank you very much for your help this seems it will work,or is correct,I will give it a go next week when at work again.
much appreciated
Regards