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
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();