Last active
September 19, 2022 19:10
-
-
Save wojtekka/14742f035b7e0c9682a02df54789d30a to your computer and use it in GitHub Desktop.
Raspberry Pi Zero PWM audio overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/boot/config.txt: | |
[all] | |
dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4 | |
/boot/cmdline.txt: | |
snd_bcm2835.enable_compat_alsa=1 | |
/etc/rc.local: | |
amixer cset numid=3 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment