From 179359809dd8990f02cc9d7b5efd27b7f29490b2 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 21 Jun 2022 08:46:31 +0100 Subject: [PATCH] Flash when battery voltage is low --- battery_tester.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/battery_tester.ino b/battery_tester.ino index f948ec2..bed857f 100644 --- a/battery_tester.ino +++ b/battery_tester.ino @@ -119,6 +119,10 @@ void loop() { wattseconds += watts_in_period; mamphours = ampseconds/3.6; mwatthours = wattseconds/3.6; + + if (battery_voltage < 0.8) { + delay(200); + } } showNumber(mamphours); } -- 2.47.1