5-6 LED_CTR
Description: LED control, it can control LED0 (red) and LED1 (blue).
Packet Format
Identifies the opcode type.
Bit 0: Identifies transmit status
Bit 6-1: Unused
Bit 7: Command source
0=First time packet is sent
1= Subsequent transmission attempts
Bit 7: always be 1(message is from the host)
All unused bits recommend to be set to 0.
Bit 0-7: Each bit controls one LED. And
it can control multiple LEDs at the
same time.
1=Control LED0
0= Don’t control LED0
Bit 1:
1=Control LED1
0= Don’t control LED1
Bit2-7: reserved to be 0.
Bit 0-7: Each bit controls one LED’s
status
Bit 0:
1=LED0 ON
0=LED0 OFF
Bit 1:
1=LED1 ON
0=LED1 OFF
Bit2-7: reserved to be 0.
2's complement sum of message
contents excluding checksum.
For example: Host controls LED0 and LED1 at the same time (turn on LED0 and turn off LED1).
Host Requirements
None.
Scanner Requirements
Scanner turns on LED0 and turns off LED1.