MCURTC:SetBatteryEmptyLEDPattern

From 3dbrew
Revision as of 23:32, 25 December 2023 by Golem64 (talk | contribs) (→‎Description)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00420040]
1 4 bytes of animation sequence. Read in the order they were sent, but their bits are read backwards to create the sequence (said sequence is read both on the power LED and the notification LED). 1 = On, 0 = Off, there is no way to change the color with this service call

Response

Index Word Description
0 Header code
1 Result code

Description

This is used for controlling the notification LED when the power is below 5%. The changes made with this service call are permanent, they will stay upon reboot. To reset to default, you can send the byte 0x55 4 times (corresponds to the following bits : 01010101, which read backwards makes a simple blinking LED sequence)