Move backlight config to data driven (#19910)
This commit is contained in:
@@ -23,13 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN A6
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 20
|
||||
#define BACKLIGHT_DEFAULT_LEVEL 10
|
||||
|
||||
#define RGB_DI_PIN B15
|
||||
#define RGBLED_NUM 16
|
||||
|
@@ -9,6 +9,9 @@
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A6",
|
||||
"levels": 20,
|
||||
"breathing": true,
|
||||
"breathing_period": 3
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
|
Reference in New Issue
Block a user