oh and a simple question about Upper-byte and Lower-Byte
Return: AA 11 02 Upper-byte Lower-byte SM
to add these upper and lower bytes...
should i do like this result = upperByte<<8 ^ lowerByte ?
result = upperByte<<8 ^ lowerByte
@Mrbbp started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
oh and a simple question about Upper-byte and Lower-Byte
to add these upper and lower bytes...
should i do like this
result = upperByte<<8 ^ lowerByte
?