Open main menu
Geekworm Wiki
Search
Changes
← Older edit
Newer edit →
X735 Software
356 bytes added
,
20:11, 17 March 2021
no edit summary
{{GD Template Impl}}
==How to setup safe shutdown script??==
1. Once you have logged into your Raspberry Pi from the command line, run the following commands
sudo apt-get update
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
sudo apt-get install pigpio python-pigpio python3-pigpio
2. Download script and some sample code.
git clone https://github.com/geekworm-com/X735-V2.5.git
3. Setup script.
cd X735-V2.5
sudo bash x735-v25.sh
printf "%s\n" "alias x735off='sudo x735softsd.sh'" >> ~/.bashrc
4. Reboot
sodu sudo reboot
5. Test safe shutdown
x735off
== About phthon sample code==
<!--Add review function! -->
Harry
Bureaucrats
,
Comment administrators
,
Interface administrators
,
Administrators
5,251
edits