MCURTC:SetInfoLEDPattern: Difference between revisions
No edit summary |
|||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Animation | ||
|- | |- | ||
| 2-9 | | 2-9 | ||
| Red pattern | | u8[32] Red pattern | ||
|- | |- | ||
| 10-17 | | 10-17 | ||
| Green pattern | | u8[32] Green pattern | ||
|- | |- | ||
| 18-25 | | 18-25 | ||
| Blue pattern | | u8[32] Blue pattern | ||
|} | |} | ||
Line 36: | Line 36: | ||
=Description= | =Description= | ||
This is used for controlling(including blinking) the notification LED. MCU module uses [[I2C_Services|I2C]] service command 0x001100C2 to write the input 0x64-bytes to MCU [[I2C]] register 0x2D. | This is used for controlling(including blinking) the notification LED. MCU module uses [[I2C_Services|I2C]] service command 0x001100C2 to write the input 0x64-bytes to MCU [[I2C]] register 0x2D. | ||
=Animation= | |||
{| class="wikitable" border="1" | |||
|- | |||
! 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 | |||
| ??? | |||
|} |