Thank you for your donation!


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


Behaviour of push button Mute on GPIO22
#9
During moOde startup the code below is executed in the script /var/www/command/util.sh

Code:
# unmute IQaudIO Pi-AMP+, Pi-DigiAMP+
if [[ $1 = "unmute-pi-ampplus" || $1 = "unmute-pi-digiampplus" ]]; then
    echo "22" >/sys/class/gpio/export
    echo "out" >/sys/class/gpio/gpio22/direction
    echo "1" >/sys/class/gpio/gpio22/value    
    exit
fi

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Behaviour of push button Mute on GPIO22 - by Tim Curtis - 06-19-2018, 08:22 PM

Forum Jump: