Skip to content

Commit

Permalink
Fix Pirate Audio Button Volume Up (#1975)
Browse files Browse the repository at this point in the history
* Update setup_pirateAudioHAT.sh

Fix #1974

* Update README.md

* Update setup_pirateAudioHAT.sh

Support early and late revisions of PirateHat, see pimoroni/pirate-audio#63 (comment)

* Update README.md

Support early and late revisions of PirateHat, see pimoroni/pirate-audio#63 (comment)

* Update README.md
  • Loading branch information
s-martin authored Feb 26, 2023
1 parent 58abfc6 commit f4cd4e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/audio/PirateAudioHAT/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,14 @@ NOTE: changes to the installation should find their way into the script `setup_p
bcm6 = volume_down,active_low,150
bcm16 = next,active_low,150
bcm20 = volume_up,active_low,150
bcm24 = volume_up,active_low,150
[pidi]
enabled = true
display = st7789
```
**Attention:** Early revisions of PirateAudio HAT used bcm20 for Volume up, later revisions use bcm24. see also https://github.com/pimoroni/pirate-audio/issues/63#issuecomment-916860634


12. Enable access for modipy user
`sudo usermod -a -G spi,i2c,gpio,video mopidy`
Expand Down
1 change: 1 addition & 0 deletions components/audio/PirateAudioHAT/setup_pirateAudioHAT.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ bcm5 = play_pause,active_low,150
bcm6 = volume_down,active_low,150
bcm16 = next,active_low,150
bcm20 = volume_up,active_low,150
bcm24 = volume_up,active_low,150
[pidi]
enabled = true
Expand Down

0 comments on commit f4cd4e4

Please sign in to comment.