enhancement on the UI and support for power off and status_led for t1000e

This commit is contained in:
Florent de Lamotte committed 2025-03-10 18:11:15 +01:00
1 parent 8a964b4bcb
commit afd52de03d
7 files changed
+157 -63

No files matched your search

+4
View File
@@ -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);