浏览代码

Merge pull request #30 from KurtE/Example_fix_pin_setup

Example setup code bug
main
Paul Stoffregen 7 年前
父节点
当前提交
67224c2ced
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      examples/DigitalPotControl/DigitalPotControl.ino

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

@@ -37,7 +37,7 @@ const int slaveSelectPin = 10;
void setup() {
// set the slaveSelectPin as an output:
pinMode (slaveSelectPin, OUTPUT);
pinMode (slaveSelectPin, HIGH);
digitalWrite (slaveSelectPin, HIGH);
// initialize SPI:
SPI.begin();
}

正在加载...
取消
保存