Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit77853bc

Browse files
Comments
1 parentb9154be commit77853bc

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
returnvoltage
3535

3636
# Main loop to read and print battery voltage
37-
whileFalse:# for testing
37+
ifFalse:
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)

[8]ページ先頭

©2009-2025 Movatter.jp