The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


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


Attached Files Thumbnail(s)
   
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: