Homepage Forums RetroPie Project GPIO Adapter, ControlBlock etc. Simple 1 button GPIO on off switch: 1 switch, 2 wires, 10 lines of code Reply To: Simple 1 button GPIO on off switch: 1 switch, 2 wires, 10 lines of code

#122116
spaceinvader
Participant

Hi!

I have transferred your files, and half work…

the script Works when I test it, I don’t know what happened with my script, I think it was exactly the same, but… it doesn’t matter.

The trouble is that it doesn’t work anytime. Despite the rc.local you uploaded was wrong (it says shutdownm.sh), I corrected it but it keeps on not working…

I will carry on trying…