mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge pull request #127 from jameshall9327/main
Added screen and button support for the lilygo tbeam
This commit is contained in:
commit
0d9201b560
2 changed files with 13 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue