Skip to content

Instantly share code, notes, and snippets.

@wojtekka
Last active September 19, 2022 19:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Raspberry Pi Zero PWM audio overlay
/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