Move backlight config to data driven (#19910)

This commit is contained in:
Ryan
2023-02-26 08:37:57 +11:00
committed by GitHub
parent ba7546a334
commit 314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions

View File

@@ -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

View File

@@ -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": {