Description

The State command is used to control Neblina's LEDs intensity.

Protocol

This command uses the Command-Ack protocol.

Command

Byte Name C Type Value
0 Control Byte ( Packet Type (7:5) / SubSystem (4:0) ) uint8_t 0x44 ( 0b010 / 0b00100 )
1 Payload Length uint8_t 2
2 CRC uint8_t Calculated
3 Command uint8_t 0x01

Payload

Byte Name C Type Value
4 Identifier uint8_t Varies
5 Intensity (0-100%) uint8_t Varies

The following table shows the available LED identifiers and their associated colors:

Identifier Color
0x00 Blue
0x01 Red
0x02 Green