Open main menu

Changes

X708-script

16 bytes removed, 19:59, 24 July 2023
'''x708-bat.py''': Script to read battery power and voltage;
cd ~x708-script
sudo python3 sample/x708-bat.py
'''x708-pld.py''': Script to AC Power supply loss dection
cd ~x708-script
sudo python3 sample/x708-pld.py
'''x708-plsd.py''': Script to AC Power supply loss dection
cd ~x708-script
sudo python3 sample/x708-plsd.py
1. Al sample python files maybe depends on the third-party python library `Rpi.GPIO`. In the official Raspberry Pi OS and most third-party OS, this library is installed by default. If you run this file and get some errors, try to run the following command to install the Rpi.GPIOy library.
3. The sample program is only to demonstrate how to use the advanced functions of the shield, we do not provide the development function of the sample program.
 
==Support==