Merge pull request #3070 from adafruit/dac_volume

change volume parameter
This commit is contained in:
Limor "Ladyada" Fried 2025-06-30 10:41:41 -04:00 committed by GitHub
commit 235f0c4938
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ dac.configure_clocks(sample_rate=44100, bit_depth=16)
# use headphones
dac.headphone_output = True
dac.headphone_volume = -15 # dB
dac.dac_volume = -15 # dB
# or use speaker
# dac.speaker_output = True
# dac.speaker_volume = -10 # dB