Skip to content

Commit 77853bc

Browse files
Comments
1 parent b9154be commit 77853bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal_filesystem/lib/mpos/battery_voltage.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def read_battery_voltage():
3434
return voltage
3535

3636
# Main loop to read and print battery voltage
37-
while False: # for testing
37+
if False:
38+
#for _ in range(10):
3839
battery_voltage = read_battery_voltage()
3940
print("Battery Voltage: {:.2f} V".format(battery_voltage))
4041
time.sleep(1) # Wait 1 second

0 commit comments

Comments
 (0)