Mutes or unmutes the microphone based on resepaker hat button press
Add the pi user to the gpio group:
sudo usermod -g gpio pi
You may also need to install:
sudo apt-get install python-rpi.gpio && sudo apt-get install python3-rpi.gpio
Gale
Configuration
#Mute #Respeaker #6mic