| 数据搜索系统,热门电子元器件搜索 |
|
SC0551 数据表(PDF) 16 Page - Raspberry Pi Holdings PLC |
|
|
|||||||||||||||||||||||||||||
SC0551 数据表(HTML) 16 Page - Raspberry Pi Holdings PLC |
|
16 / 25 page ![]() v32 16 10-Dec-2020 12. Controlling the DigiAMP+ Mute / Un-mute The DigiAMP+ MUTE state is toggled by GPIO22 on the Raspberry Pi. The latest IQaudio device tree supports the unmute of the DigiAMP+ through additional parameters (from Raspbian 4.4.14+ onwards) … dtoverlay=iqaudio-dacplus,unmute_amp "one-shot" unmute when kernel module loads. dtoverlay=iqaudio-dacplus,auto_mute_amp Unmute amp when ALSA device opened by a client. Mute, with 5 second delay when ALSA device closed. (Re-opening the device within the 5 second close window, will cancel mute.) If you do not want to control Mute state through device tree then you can also script your own solution. The information below may be useful. # The amp will startup MUTED # to unmute the amp. pi@raspberrypi ~ $ sudo sh -c "echo 22 > /sys/class/gpio/export" pi@raspberrypi ~ $ sudo sh -c "echo out >/sys/class/gpio/gpio22/direction" pi@raspberrypi ~ $ sudo sh -c "echo 1 >/sys/class/gpio/gpio22/value" # to mute the amp once more... pi@raspberrypi ~ $ sudo sh -c "echo 0 >/sys/class/gpio/gpio22/value" If you already use WiringPi: # If using WiringPi - to unmute the amp gpio mode 3 out gpio write 3 1 # to mute once more gpio write 3 0 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |