Difference between revisions of "MCURTC:SetInfoLEDPattern"
Jump to navigation
Jump to search
Line 46: | Line 46: | ||
|- | |- | ||
| 0x01 = many patterns per second | | 0x01 = many patterns per second | ||
− | 0x3F = | + | 0x3F = 4p / ~0.502sec |
− | 0x81 = ~ | + | 0x81 = ~4pps |
0x00 = least patterns per second | 0x00 = least patterns per second | ||
Line 58: | Line 58: | ||
0x20 = ~2000ms delay before starting again | 0x20 = ~2000ms delay before starting again | ||
− | + | 0xFE = huge delay between pattern loops | |
+ | |||
+ | 0xFF = loop once | ||
| ??? | | ??? | ||
|} | |} |
Revision as of 16:36, 15 September 2016
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 = 4p / ~0.502sec 0x81 = ~4pps 0x00 = least patterns per second |
0x00 = no smoothing
0xFF = insane smoothing |
0x00 = no pattern looping delay
0x20 = ~2000ms delay before starting again 0xFE = huge delay between pattern loops 0xFF = loop once |
??? |