Host Protocols Direct Protocol CONTROL class IOs and UI SET LED RGB
April 13, 2023 at 2:39 AMSET_LED_RGB
Role
Drive the device’s RGB LED directly.
Access condition
Free.
Command
Field | Value |
---|---|
CLA | 58 (CONTROL) |
INS | 91 |
Data | See the various ‘Parameters’ options below |
Parameters
Set mode
Bytes | Content |
---|---|
0 | Mode of the RGB LED |
Set color - No fading
Bytes | Content |
---|---|
0 | RED value |
1 | GREEN value |
2 | BLUE value |
Fade to color
Bytes | Content |
---|---|
0 | RED value |
1 | GREEN value |
2 | BLUE value |
3-4 | Transition time in milliseconds (MSB-first) |
Response
None