瀏覽代碼

Document analogReference in PlayFromSketch example

dds
PaulStoffregen 11 年之前
父節點
當前提交
759a8e2439
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      examples/PlayFromSketch/PlayFromSketch.ino

+ 5
- 0
examples/PlayFromSketch/PlayFromSketch.ino 查看文件

@@ -70,6 +70,11 @@ void setup() {
audioShield.enable();
audioShield.volume(50);

// by default the Teensy 3.1 DAC uses 3.3Vp-p output
// if your 3.3V power has noise, switching to the
// internal 1.2V reference can give you a clean signal
//dac.analogReference(INTERNAL);

// reduce the gain on mixer channels, so more than 1
// sound can play simultaneously without clipping
mix1.gain(0, 0.4);

Loading…
取消
儲存