mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
enhancement on the UI and support for power off and status_led for t1000e
This commit is contained in:
parent
676ba6d066
commit
7bb16cd7f3
7 changed files with 157 additions and 63 deletions
|
|
@ -67,6 +67,10 @@ public:
|
|||
esp_deep_sleep_start(); // CPU halts here and never returns!
|
||||
}
|
||||
|
||||
void powerOff() override {
|
||||
enterDeepSleep(0);
|
||||
}
|
||||
|
||||
uint16_t getBattMilliVolts() override {
|
||||
analogReadResolution(10);
|
||||
digitalWrite(PIN_ADC_CTRL, PIN_ADC_CTRL_ACTIVE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue