Move backlight config to data driven (#19910)
This commit is contained in:
@@ -25,11 +25,7 @@ Copyright 2021 Nathan Spears
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Switch LED Backlighting */
|
||||
#define BACKLIGHT_PIN D1
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
// ws2812 options
|
||||
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x1416",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "D1",
|
||||
"levels": 6,
|
||||
"breathing": true
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layout_aliases": {
|
||||
|
Reference in New Issue
Block a user