Add support for WS2812 LEDs
This commit is contained in:
parent
fd72a46c13
commit
0a40654b82
9 changed files with 1029 additions and 7 deletions
|
@ -15,6 +15,11 @@ void * matrix_init_kb(void) {
|
|||
backlight_init_ports();
|
||||
#endif
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
rgblight_init();
|
||||
#endif
|
||||
|
||||
|
||||
// Turn status LED on
|
||||
DDRE |= (1<<6);
|
||||
PORTE |= (1<<6);
|
||||
|
@ -28,4 +33,4 @@ void * matrix_scan_kb(void) {
|
|||
if (matrix_scan_user) {
|
||||
(*matrix_scan_user)();
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue