Developers>Tutoriels>Read the battery tension
In this tutorial you will learn to read the battery tension of MRPi1 robot.
Read the battery
- Start the python program :
$ python
- import the mrpi1_lib library :
>>> from mrpi1_lib import *
- read the battery tension :
>>> battery()
The battery voltage tension should be displayed in the terminal.

