Assigning Audio

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Post Reply
Sprockett
Posts: 41
Joined: Thu May 05, 2016 12:39 pm
Been thanked: 1 time

Assigning Audio

Post by Sprockett » Sun May 29, 2016 5:38 pm

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-

tindalos
Posts: 5
Joined: Sat May 14, 2016 6:38 pm
Been thanked: 9 times

Re: Assigning Audio

Post by tindalos » Sun May 29, 2016 5:49 pm

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.

Sprockett
Posts: 41
Joined: Thu May 05, 2016 12:39 pm
Been thanked: 1 time

Re: Assigning Audio

Post by Sprockett » Sun May 29, 2016 5:54 pm

Wow...

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest