- battery calc now more efficent
- new battery values now every 0.5s
This commit is contained in:
@@ -154,6 +154,7 @@ void loop() {
|
||||
lcdWrapper->loop();
|
||||
mainBattery->loop();
|
||||
|
||||
// new Value ervery 0.5s
|
||||
if (mainBattery->isNewValue()) {
|
||||
static uint8_t batteryLowCounter = 0;
|
||||
if (mainBattery->isBatteryLow(10))
|
||||
|
||||
Reference in New Issue
Block a user