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.


Problem: How to use GPIO button handler
#1
Hello everybody,

I have a question concerning the use of the "GPIO button handler" function. My problem is, there seems to be no reaction when I trigger one of the GPIOs...
My setup is:
Raspbery Pi 4
Moode Audio 6.5.1 and 6.5.2 (I tried it with both)
Button 1     ON     PIN 10      CMD     mpc next

When I enter mpc next into the Web SSH terminal the music jumps to the next track.
I measure 3.3V on GPIO10.
When I connect GPIO10 with a 4,2kOhm resistor to ground, the voltage drops to 0.25V but I get no reaction.

I also tried it with Pin 10 on the Pi which is GPIO15, but again nothing happend.

Do I have to make something else to make this work? Like activating a script maybe?
Any help would be much appreciated. I am having a lot of fun with this wonderful piece of software and would like to make it more usable for my family :)

Cheers
Waschi
Reply


Messages In This Thread
How to use GPIO button handler - by Waschi - 05-20-2020, 06:43 PM
RE: How to use GPIO button handler - by Waschi - 05-24-2020, 12:56 PM

Forum Jump: