iol-hat:sw:3_binary-protocol:3.2_cmd-led
3.2 CMD_LED
The LED command switches the LED on the corresponding port.
Command:
| Octet # | Usage |
|---|---|
| 0 | Command ID = 0x02 |
| 1 | Port index 0x00 or 0x01 |
| 3 | LED Status (see below) |
The LED status is 0x01 for the green LED and 0x02 for the red LED. With LED status 0x03, both LEDs are activated.
Return Success:
| Octet # | Usage |
|---|---|
| 0 | Command ID = 0x02 |
| 1 | Port index 0x00 or 0x01 |
| 3 | LED Status |
iol-hat/sw/3_binary-protocol/3.2_cmd-led.txt · Last modified: by 127.0.0.1
