01-02-2021, 04:23 PM
Hello,
so, I found here some stuff.
I created myscript.sh
and put it under /home/pi/
then ran
Gpio setting is like shown in picture.
All GPIOs are connected to ground.
Only the shutoff button is working, GPIO 26
What could be wrong?
Alain
so, I found here some stuff.
I created myscript.sh
Code:
#!/bin/bash
mpc play
mpc pause
and put it under /home/pi/
then ran
Code:
sudo chmod +x /home/pi/myscript.sh
Gpio setting is like shown in picture.
All GPIOs are connected to ground.
Only the shutoff button is working, GPIO 26
What could be wrong?
Alain