4. Install script&reboot:
Firstly please select your x728 version, please use x728-v2.1.sh for x728 v2.1 and v2.2 sudo bash x728-v2.1pwr.sh #New add buzzer supportorSetting up the command to turn off X729 from software printf "%s\n" "alias x729off='sudo bash x728-v2x729softsd.0sh'" >> ~/.shor bashrc sudo bash x728-v1.0.shthen#Reboot the Raspberry Pi
sudo reboot
You can get the following python file in /home/pi/ fold:
x728bat.py # Reading battery voltage
x728pld.py # Testing AC power off/loss or power adapter failure detection, added buzzer function on v2.1
x728plsd.py # Testing Auto shutdown when AC power loss or power adapter failure
5. Set and Read the RTC time