Difference between revisions of "MCUHWC:SetPowerLEDPattern"

From 3dbrew
Jump to navigation Jump to search
(Updated possible LED states)
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| LED state (0,1 = normal mode, 2 = sleep mode, 3 = off, 4 = red, 5 = blue, 6 = blinking red)
+
| 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)
 
|}
 
|}
  

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.