Thanks, really appreciated.
Couple of additional questions,
the commands resulted on this response, which I believe is a proper acknowledgement.
U
ª
0
0
How do I get other commands using the format Serial1.write([0x55,0xAA,0x01,0x00,0x01,0x00,0x00,0x00,0x12,0x00,0x13,0x01]);
That is which of the hex numbers represent the command start code1, start code 2, device id, input parameter, command code and checksum.
Finally, how do I display/get data packet in a readable format, like the serial_number and firmware_number in devinfo data packet which is returned by the open command
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.
Thanks, really appreciated.
Couple of additional questions,
the commands resulted on this response, which I believe is a proper acknowledgement.
U
ª
0
0
How do I get other commands using the format Serial1.write([0x55,0xAA,0x01,0x00,0x01,0x00,0x00,0x00,0x12,0x00,0x13,0x01]);
That is which of the hex numbers represent the command start code1, start code 2, device id, input parameter, command code and checksum.
Finally, how do I display/get data packet in a readable format, like the serial_number and firmware_number in devinfo data packet which is returned by the open command