uic
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
uic [2025/03/28 00:41] – arisotura | uic [2025/04/18 12:00] (current) – arisotura | ||
---|---|---|---|
Line 188: | Line 188: | ||
| 0x06 | 0 | 0 | EEPROM write enable | | | 0x06 | 0 | 0 | EEPROM write enable | | ||
| 0x07 | 0 | 128 | query input data | | | 0x07 | 0 | 128 | query input data | | ||
- | | 0x08 | 2 | 0 | ? | | + | | 0x08 | 2 | 0 | set status LED brightness |
| 0x09 | 1 | 0 | begin firmware update | | | 0x09 | 1 | 0 | begin firmware update | | ||
| 0x0A | 0 | 6 | set various battery thresholds | | | 0x0A | 0 | 6 | set various battery thresholds | | ||
Line 354: | Line 354: | ||
The input data is little-endian. | The input data is little-endian. | ||
+ | |||
+ | |||
+ | ==== Command 08 ==== | ||
+ | |||
+ | Set status LED brightness for the given LED. | ||
+ | |||
+ | First parameter byte is the number of the LED to set: 0 is the HOME button LED, 1 is the blue battery LED, 2 is the red battery LED, and 3 is the amber battery LED. Any value higher than 3 is interpreted as 3. | ||
+ | |||
+ | Second parameter byte is the brightness, ranging from 0 (off) to 255 (full brightness). | ||
+ | |||
+ | Note that only one battery LED can be active at a time. Setting any of the blue/ | ||
+ | |||
+ | This command will be ignored if the UIC is overriding the battery LED (for example, during the blue LED fade-out at boot). | ||
uic.1743122513.txt.gz · Last modified: 2025/03/28 00:41 by arisotura