Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: GPIO pins setting Play Pause
#2
(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
Reply


Messages In This Thread
GPIO pins setting Play Pause - by Alaini93 - 12-30-2020, 12:57 AM
RE: GPIO pins setting - by TheOldPresbyope - 12-30-2020, 01:13 AM
RE: GPIO pins setting - by Alaini93 - 12-30-2020, 02:27 AM
RE: GPIO pins setting - by TheOldPresbyope - 12-30-2020, 04:31 PM
RE: GPIO pins setting - by Alaini93 - 12-30-2020, 05:17 PM
RE: GPIO pins setting - by Alaini93 - 01-02-2021, 04:23 PM
RE: GPIO pins setting - by Tim Curtis - 01-02-2021, 05:03 PM
RE: GPIO pins setting - by Alaini93 - 01-02-2021, 05:30 PM
RE: GPIO pins setting - by Alaini93 - 01-03-2021, 06:34 PM

Forum Jump: