libyggdrasil
v1.0.0
|
Driver to use the SK9822 RGB Led (APA102 clone) More...
#include <c/yggdrasil/types.h>
Go to the source code of this file.
Functions | |
C_LINKAGE void | yggdrasil_RGBMatrix_Init (void) |
Initialization function. More... | |
C_LINKAGE void | yggdrasil_RGBMatrix_Enable (void) |
Enables the SK9822 led. More... | |
C_LINKAGE void | yggdrasil_RGBMatrix_Disable (void) |
Disable the SK9822 led. More... | |
C_LINKAGE void | yggdrasil_RGBMatrix_Clear (void) |
Clear all leds. More... | |
C_LINKAGE void | yggdrasil_RGBMatrix_SetLed (u8 index, RGBA8 color) |
set a single led to RGBA8 color More... | |
C_LINKAGE void | yggdrasil_RGBMatrix_SetLedMasked (u16 enableMask, RGBA8 color) |
set multiple leds to RGBA8 color using a bit mask More... | |
C_LINKAGE void | yggdrasil_RGBMatrix_Dice (u8 number, RGBA8 color) |
Function to display a dice. More... | |
C_LINKAGE void | yggdrasil_RGBMatrix_Flush (void) |
Send the saved color values to the leds. More... | |
Driver to use the SK9822 RGB Led (APA102 clone)
C_LINKAGE void yggdrasil_RGBMatrix_Clear | ( | void | ) |
Clear all leds.
Function to display a dice.
number | Number to display |
color | RGBA8 color |
C_LINKAGE void yggdrasil_RGBMatrix_Disable | ( | void | ) |
Disable the SK9822 led.
C_LINKAGE void yggdrasil_RGBMatrix_Enable | ( | void | ) |
Enables the SK9822 led.
C_LINKAGE void yggdrasil_RGBMatrix_Flush | ( | void | ) |
Send the saved color values to the leds.
C_LINKAGE void yggdrasil_RGBMatrix_Init | ( | void | ) |
Initialization function.