1
0
Fork 0

Add support for WS2812 LEDs

This commit is contained in:
Yang Liu 2016-01-24 13:14:50 -08:00
parent fd72a46c13
commit 0a40654b82
9 changed files with 1029 additions and 7 deletions

View file

@ -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)();
}
};
};