Difference between revisions of "MCUHWC:SetPowerLEDPattern"
Jump to navigation
Jump to search
m (MarcusD moved page MCUHWC:CommandPowerLED to MCUHWC:SetPowerLEDPattern: found the original function name) |
(Updated possible LED states) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | LED state (3 = off, 4 = red, 5 = blue) | + | | LED state (0 = auto mode, 1 = forced default "on" mode, 2 = sleep mode, 3 = off, 4 = forced red, 5 = foreced blue, 6 = blinking "battery empty" red) |
|} | |} | ||
Line 27: | Line 27: | ||
=Description= | =Description= | ||
This is used for controlling the power LED. | This is used for controlling the power LED. | ||
+ | Please note, that modes 2, 4, and 5 aren't affected by LED dimming, and will be at full brightness. Modes 0 and 1 are affected by LED dimming. Mode 3 isn't affected, since the LED is powered off regardless of any other setting. |
Latest revision as of 16:57, 29 May 2019
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00060040] |
1 | LED state (0 = auto mode, 1 = forced default "on" mode, 2 = sleep mode, 3 = off, 4 = forced red, 5 = foreced blue, 6 = blinking "battery empty" red) |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description[edit]
This is used for controlling the power LED. Please note, that modes 2, 4, and 5 aren't affected by LED dimming, and will be at full brightness. Modes 0 and 1 are affected by LED dimming. Mode 3 isn't affected, since the LED is powered off regardless of any other setting.