Skip to content

Commit

Permalink
Backlight control, board improvements (#89)
Browse files Browse the repository at this point in the history
sdk: add backlight control pin
sdk: fix build for V1
keira: turn off display before entering light/deep sleep from settings
hardware: route BL signal, decrease copper fill hatch size, move QR code, add keepouts, add net to pin 4 of regulator
  • Loading branch information
and3rson authored Mar 30, 2024
1 parent d8724a7 commit f8e4ef4
Show file tree
Hide file tree
Showing 11 changed files with 18,581 additions and 14,577 deletions.
4 changes: 4 additions & 0 deletions firmware/keira/src/apps/launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,12 @@ void LauncherApp::settingsMenu() {

this->alert("Форматування", "Форматування SD-карти завершено!");
} else if (index == 5) {
lilka::display.displayOff();
lilka::display.setBacklight(false);
esp_light_sleep_start();
} else if (index == 6) {
lilka::display.displayOff();
lilka::display.setBacklight(false);
ESP.deepSleep(0xFFFFFFFF);
} else if (index == 7) {
esp_restart();
Expand Down
Loading

0 comments on commit f8e4ef4

Please sign in to comment.