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.


Behaviour of push button Mute on GPIO22
#1
Hello,

I have a Raspberry Pi 3 with and IQaudIO Pi-DigiAMP+, running Moode 4.1 (updated in-place from 4.0).

I have added a rotary encoder with push button bought from the IQaudIO store.

The rotary encoder works out of the box with Moode (using GPIO 23 and 24).

The push button (momentary switch) is connected to GPIO 22.
When I press it, it mutes, when I release it, it unmutes. I would prefer a mute toggle at each press.


Where is the code managing GPIO 22 mute? 
I have looked for it, but only found stuff for the rotary encoder, nothing using GPIO 22. I do not even know where the current behaviour is coming from... Could it be a driver feature?
Any idea about changing the current behaviour?

Thanks for your help!

Nico
http://www.youplala.net/tag/hi-fi/
Reply


Messages In This Thread
Behaviour of push button Mute on GPIO22 - by camelreef - 05-17-2018, 04:39 PM

Forum Jump: