The following test is base on '2020[https://www.raspberrypi.com/software/operating-systems/ 2022-01-0228-13raspios-raspbianbullseye-busterarmhf.img'zip]
Python version is 3;
1. Enable I2C funcion on Raspbian:
* press on-board blue button 3 seconds to safe shutdown,
* press on-board blue button 7-8 seconds to force shutdown.
8. Testing AC power off/loss or power adapter failure detection (need to short the 'PLD' pin on v1.x), also test the buzzer function on v2.1
cd ~
sudo python3 x728pld.py
or
sudo python x728pld.py
[[File:X728-pld-2.jpg]]
9. '''Testing Auto shutdown when AC power loss''' or power adapter failure
cd ~
sudo python3 x728pld.py
or
sudo python x728plsd.py
==uninstall x728 script==
uninsatll x728 shell script, run the following command: