]> Zhao Yanbai Git Server - acecode.git/commitdiff
.....
authoracevest <zhaoyanbai@126.com>
Mon, 1 Dec 2014 14:41:40 +0000 (22:41 +0800)
committeracevest <zhaoyanbai@126.com>
Mon, 1 Dec 2014 14:41:40 +0000 (22:41 +0800)
arduino/Sensors/Sensors/Sensors.ino

index 6ebcef70f504e35efc71a65bb22c030221284d08..51e9800d4726cec73aea8d98312082c941459421 100644 (file)
@@ -4,6 +4,10 @@ int cnt = 0;
 void setup() {
   Serial.begin(9600);
   pinMode(ledPin, OUTPUT);
+  
+  pinMode(0, INPUT);
+  pinMode(1, INPUT);
+  pinMode(2, INPUT);
 }
 
 void loop() {