Merge pull request #3070 from adafruit/dac_volume
change volume parameter
This commit is contained in:
commit
235f0c4938
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue