MCURTC:SetInfoLEDPattern
Jump to navigation
Jump to search
Request
Index Word | Description |
---|---|
0 | Header code [0x003B0640] |
1 | Animation |
2-9 | u8[32] Red pattern |
10-17 | u8[32] Green pattern |
18-25 | u8[32] Blue pattern |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description
This is used for controlling(including blinking) the notification LED. MCU module uses I2C service command 0x001100C2 to write the input 0x64-bytes to MCU I2C register 0x2D.
Animation
u8 delay | u8 smoothing | u8 loop_delay(?) | u8 ??? |
---|---|---|---|
0x01 = many patterns per second
0x3F = ~64pps (~0.502sec) 0x81 = ~32pps (~1sec) 0x00 = least patterns per second |
0x00 = no smoothing
0xFF = insane smoothing |
0x00 = no pattern looping delay
0x20 = ~2000ms delay before starting again 0xFF = huge delay between pattern loops |
??? |