Merge pull request #127 from jameshall9327/main

Added screen and button support for the lilygo tbeam
This commit is contained in:
ripplebiz 2025-03-24 11:55:22 +11:00 committed by GitHub
commit 0d9201b560
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 3 deletions

View file

@ -37,6 +37,8 @@ public:
power.setALDO2Voltage(3300);
power.enableALDO2();
pinMode(38,INPUT_PULLUP);
esp_reset_reason_t reason = esp_reset_reason();
if (reason == ESP_RST_DEEPSLEEP) {
long wakeup_source = esp_sleep_get_ext1_wakeup_status();