Similarly if the byte* payload contains a 'F' it should send 15 as above.
Then you should use serial.write() instead of serial.print().
"Hex" is not a data type. It is a human readable representation of a binary number.
Similarly if the byte* payload contains a 'F' it should send 15 as above.
Then you should use serial.write() instead of serial.print().
"Hex" is not a data type. It is a human readable representation of a binary number.