浏览代码

Change PassThroughAnalog to follow analog pin name convention

dds
PaulStoffregen 11 年前
父节点
当前提交
ef55379cbf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      examples/PassThroughAnalog/PassThroughAnalog.ino

+ 1
- 1
examples/PassThroughAnalog/PassThroughAnalog.ino 查看文件

// Create the Audio components. These should be created in the // Create the Audio components. These should be created in the
// order data flows, inputs/sources -> processing -> outputs // order data flows, inputs/sources -> processing -> outputs
// //
AudioInputAnalog analogPinInput(16); // analog A2 (pin 16)
AudioInputAnalog analogPinInput(A2); // analog A2 (pin 16)
AudioOutputI2S audioOutput; // audio shield: headphones & line-out AudioOutputI2S audioOutput; // audio shield: headphones & line-out
AudioOutputPWM pwmOutput; // audio output with PWM on pins 3 & 4 AudioOutputPWM pwmOutput; // audio output with PWM on pins 3 & 4



正在加载...
取消
保存