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
I don’t know what I was doing wrong, I started again with a fresh sd image and got it to work.