Skip to content

Commit

Permalink
change to venv311
Browse files Browse the repository at this point in the history
  • Loading branch information
Growflavor authored Jun 23, 2024
1 parent a2e78f1 commit a99a1f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python311_venv_Tests/EV3voltageCurrentPy11.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/home/robot/py11venv/bin/python3.11
#!/home/robot/venv311/bin/python3.11

with open('/sys/class/power_supply/lego-ev3-battery/voltage_now') as voltage_file:
voltage = int(voltage_file.read())
Expand All @@ -10,4 +10,4 @@
current = int(current_file.read())
print("Current current: {} µA".format(current))

# Current current: 149333µA
# Current current: 149333µA

0 comments on commit a99a1f6

Please sign in to comment.