Hey guys, Been reading multiple posts fir the last couple hours. Trying several different ideas without any luck.
What I am doing I thought would be simple but is causing me to pull my hair out.
After doing math using several variables I need to send the Byte Variable Answer as a HEX number.
For instance, if B13 = 77 and I try and send it, it sends the converted value of $4D, but what i need to do is send $77
Hserout 0, ($01,$00,B13) Which I though be be as simple as that, B13 = 77, but the device receiving info gets ($01,$00,$4D) but i need it to send ($01,$00,$77)
Is there a simple solution to convert the Byte Variable to HEX
Thanks
Steve
What I am doing I thought would be simple but is causing me to pull my hair out.
After doing math using several variables I need to send the Byte Variable Answer as a HEX number.
For instance, if B13 = 77 and I try and send it, it sends the converted value of $4D, but what i need to do is send $77
Hserout 0, ($01,$00,B13) Which I though be be as simple as that, B13 = 77, but the device receiving info gets ($01,$00,$4D) but i need it to send ($01,$00,$77)
Is there a simple solution to convert the Byte Variable to HEX
Thanks
Steve