12-30-2020, 01:13 AM
(12-30-2020, 12:57 AM)Alaini93 Wrote: Hello,
on 6.7.1, I have this script to shutoff Moode. With 7.0.1, I tried to use GPIO config page (see image) but it does not work.
the button is plug on GPIO 5 and Ground.
Does it need to be on 3.3v pin instead of ground? Does it matter? Is it the same for every GPIOs.
And is it even the right command (sudo poweroff)?
And what would be the command for Play and Pause (2 buttons/switches)?
Alain
Read the note prominently displayed on the GPIO config page.
Regard,
Kent