Page 1 of 1

Assigning Audio

Posted: Sun May 29, 2016 5:38 pm
by Sprockett
I'm 95% done with my project, there are only two things left:

1. Hooking up a HDMI outlet, I got one working, but needed to shrink it down. I have a new part coming, when I get it I'll do a guide on how I did it (and it's using the PI port, but with a cable).

2. Hooking up sound.

All my sound wiring is in, I went to Adafruits page on Zero Sound, I ran the sudo apt-get install raspi-gpio line and it installed. However when I go to run:

gpio -v

The command can't be found??

Am I missing something here? :x

It's always the final pieces that cause the most problems :)

Thanks
-Paul-

Re: Assigning Audio

Posted: Sun May 29, 2016 5:49 pm
by tindalos
I've been using a much simpler method then adafruits for setting up PWM audio, just add this line to your /boot/config.txt:

Code: Select all

dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4
That will reconfigure pins 13 and 18 (the same pins used by adafruits method) at boot without any external tools.

Re: Assigning Audio

Posted: Sun May 29, 2016 5:54 pm
by Sprockett
Wow...

Thank You, I'm doing it now... :D