Battery check
-
When I try to check battery voltage level by running the following code,
zumi.check_battery_voltage(), error message appeared as "name 'zumi' is not defined" What library should I load to solve this problem.
-
@gwiheo Thanks, good catch!
-
There is no function name of "zumi.check_battery_voltage()". It is not "zumi.check_battery_voltage()". I found that it should be "zumi.get_battery_voltage()". You need to correct this .
-
@gwiheo,
Don't forget to run the following code before using any Zumi function*Edited:
from zumi.zumi import Zumi zumi = Zumi() zumi.get_battery_voltage()