add deep sleep mode

This commit is contained in:
2025-04-19 16:00:18 +02:00
parent 9abfb936a3
commit e4663df500
4 changed files with 47 additions and 0 deletions

View File

@@ -34,4 +34,9 @@ void Display::print_weight(double val) {
this->_display->setCursor(12, this->mid_x);
this->_display->printf("%.2f g", val);
this->_display->refresh();
}
void Display::clear() {
this->_display->clearDisplay();
this->_display->refresh();
}