Skip to content

Commit d4ea5cb

Browse files
author
Alasdair Allan
authored
Merge pull request #2660 from raspberrypi/develop
Push to production
2 parents 69563df + 5d0fc0e commit d4ea5cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/asciidoc/accessories/audio/advanced.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If appropriate then the following are also used:
1818
* GPIO 22 (DigiAMP+ mute/unmute support)
1919
* GPIO 23/24 for rotary encoder (physical volume control) or status LED (Codec Zero)
2020
* GPIO 25 for the IR Sensor
21-
* GPIO 27 for the rotary encoder push switch/Code Zero switch
21+
* GPIO 27 for the rotary encoder push switch/Codec Zero switch
2222

2323
=== DAC PRO, DAC{plus}, DigiAMP{plus}, Codec Zero
2424

documentation/asciidoc/accessories/audio/getting_started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A random pre-recorded five-second audio clip will be played when the button is p
1313
For this project, any small passive speaker should be sufficient. We're using one available https://shop.pimoroni.com/products/3-speaker-4-3w?variant=380549926[here], which handles 5W of power at 4Ω. We have also used an illuminated momentary push button, and a laser-cut box to house all the components; but both are entirely optional. This example will work just using the Codec Zero's on-board button, which is pre-wired to GPIO 27. (Alternatively, you can use any momentary push button, such as those available https://shop.pimoroni.com/products/mini-arcade-buttons?variant=40377171274[here].)
1414

1515
image::images/wiring.jpg[width="80%"]
16-
Note - BRIAN TO ADD LABELS TO THIS PHOTO - GPIO 27, +5V, and Ground x2.
16+
//Note - BRIAN TO ADD LABELS TO THIS PHOTO - GPIO 27, +5V, and Ground x2.
1717

1818
Use a small flat-head screwdriver to attach your speaker to the screw terminals. For the additional push button, solder the button wires directly to the Codec Zero pads as indicated, using GPIO pin 27 and Ground for the switch, and +5V and Ground for the LED, if necessary.
1919

0 commit comments

Comments
 (0)