瀏覽代碼

Opps, pinMode needed

dds
PaulStoffregen 9 年之前
父節點
當前提交
b16472a1f8
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      examples/Tutorial/Part_1_05_Do_More_While_Playing/Part_1_05_Do_More_While_Playing.ino

+ 1
- 0
examples/Tutorial/Part_1_05_Do_More_While_Playing/Part_1_05_Do_More_While_Playing.ino 查看文件

@@ -35,6 +35,7 @@ void setup() {
delay(500);
}
}
pinMode(13, OUTPUT); // LED on pin 13
pinMode(0, INPUT_PULLUP);
pinMode(2, INPUT_PULLUP);
delay(1000);

Loading…
取消
儲存