Difference between revisions of "MCUHWC:SetPowerLEDPattern"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060040] |- | 1 | LED state (3 = off, 4 = red, 5 = blue) |} =Response= {| c...")
 
(Updated possible LED states)
 
(4 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.