solution:
sudo pacman -S python-pip
pacman -S python python-pip base-devel
pip install RPi.GPIO
need this for it to run as service. thanks!pcmanbob wrote: ↑Fri Jan 24, 2020 3:41 pmI would suggest using the full path in the line
So if your script.sh file is located in the /home/pi directory your line would look like thisCode: Select all
os.system('./script.sh')
Code: Select all
os.system('/home/pi/script.sh')
terminal just hangs as if waiting for input, same response as when I had wrong GPIO number in code
No change it keeps printing "pressed"davidcoton wrote: ↑Fri Jan 24, 2020 1:38 pmGet it saying "Pressed" repeatedly. Then press and hold the button. Any change?
it already is maintained on manjaroDougieLawson wrote: ↑Fri Jan 24, 2020 12:51 amRPi.GPIO is only supported on Raspbian. You'll need to pull the source package and hack it to work on your alien operating system.