mirror of
https://github.com/pelgraine/Meck.git
synced 2026-08-08 09:42:43 +02:00
max - screen backlight dropped to 5, keyboard backlight brightness dropped by half to 128. Will need to revise message flash in settingscreen.h to use buzze instead of keyboard backlight led
This commit is contained in:
@@ -4118,7 +4118,7 @@ void handleKeyboardInput() {
|
||||
if (key == KB_KEY_KBD_BACKLIGHT) {
|
||||
static bool kbdBacklightOn = false;
|
||||
kbdBacklightOn = !kbdBacklightOn;
|
||||
digitalWrite(KB_BL_PIN, kbdBacklightOn ? 255 : 0);
|
||||
analogWrite(KB_BL_PIN, kbdBacklightOn ? 128 : 0);
|
||||
Serial.printf("Keyboard backlight %s\n", kbdBacklightOn ? "ON" : "OFF");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user