Display brightness support (#26)

* cleanup

* brightness control and app

* cleanup

* persistant storage of display settings

* fix for missing include

* header cleanup

* fix pc build

* add docs

* move display app to tactility project
This commit is contained in:
Ken Van Hoeylandt
2024-01-31 20:39:12 +01:00
committed by GitHub
parent ae5c828f42
commit d171b9a231
33 changed files with 626 additions and 94 deletions
+4
View File
@@ -1,4 +1,5 @@
#include "lilygo_tdeck.h"
#include "display_i.h"
#include <stdbool.h>
bool tdeck_bootstrap();
@@ -8,6 +9,9 @@ extern const SdCard tdeck_sdcard;
const HardwareConfig lilygo_tdeck = {
.bootstrap = &tdeck_bootstrap,
.display = {
.set_backlight_duty = &tdeck_backlight_set
},
.init_lvgl = &tdeck_init_lvgl,
.sdcard = &tdeck_sdcard
};