Changes

Jump to navigation Jump to search

X728-Software

486 bytes added, 16:02, 12 May 2021
no edit summary
6. How to reading battery voltage and percentage, this is the sample code, you can modify it by your request.
sudo python x728batx728bat_v1.2.pyor sudo pyton /home/pi/x728bat_v1.2.py '''UPDATED!''' we add a new python script file (x728bat_v1.3.py) to implement automatic shutdown function when the battery is low voltage due to the hardware ASD function is remove in X728 V1.3, in fact this script also fit to x728 old version,  You can found this x728bat_v1.3.py file in /home/pi/x728 folder after you execute the command git clone successfully. User Guide: https://github.com/geekworm-com/x728 to know more details; 
7. Power off command on Raspbian from software

Navigation menu