battery()
Description
read the battery voltage (V).
Syntax
battery()
Parameters
None.
Returns
Voltage value in volt (float type)
Exemple
# read the battery level
level = battery();
read the battery voltage (V).
battery()
None.
Voltage value in volt (float type)
# read the battery level
level = battery();