Here is the code in Arduino: Code: [Select]. void loop(){ boolean a = digitalRead(0); digitalWrite(2, a); boolean b = digitalRead(3);
確定! 回上一頁