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
© Espruino, powered by microcosm.
Report a problem