Hello,
The Circuit Playground Guided Tour mentions you can turn off the internal speaker using the "shutdown control".
https://learn.adafruit.com/adafruit-cir ... uided-tour
However, I can't find guidance on how to implement this in code.
Could someone please point me in the right direction?
I want to use the Audio Pad for output but don't want the internal speaker playing at the same time.
I want to use CircuitPython.
Thanks
How to disable internal speaker (Circuit Playground)
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- R99
- Posts: 2
- Joined: Fri Aug 13, 2021 7:08 am
- dastels
- Posts: 15667
- Joined: Tue Oct 20, 2015 3:22 pm
Re: How to disable internal speaker (Circuit Playground)
See the audio example on https://learn.adafruit.com/adafruit-cir ... -audio-out:
Dave
Code: Select all
# Enable the speaker
speaker_enable = digitalio.DigitalInOut(board.SPEAKER_ENABLE)
speaker_enable.direction = digitalio.Direction.OUTPUT
speaker_enable.value = True
- R99
- Posts: 2
- Joined: Fri Aug 13, 2021 7:08 am
Re: How to disable internal speaker (Circuit Playground)
Thanks.
Setting that value to False does indeed disable the speaker without disabling the audio pad, which is what I want.
Setting that value to False does indeed disable the speaker without disabling the audio pad, which is what I want.
Please be positive and constructive with your questions and comments.