Changes

Jump to navigation Jump to search

X-C1 Software

10 bytes added, 13:47, 24 December 2021
A: If you find an error similar to the above, it is because pigpiod library is not started, we need to run pigpiod first,
sudo pigpiod
python 'your directory'/x-c1/fan.py &
If 'sudo' command request a password, you can use the following command:
echo 'your password' | sudo -S pigpiod
python 'your directory'/x-c1/fan.py &
You can put these two lines in the /etc/rc.local file so that it will run automatically after booting.
If sudo asks for a password, you can use the following command
echo 'your password' | sudo -S pigpiod
python 'your directory'/x-c1/fan.py &
[[File:Volumio-rc-local.jpg|800px]]

Navigation menu