diff --git a/src/arduinoNano/arduinoNano.ino b/src/arduinoNano/arduinoNano.ino new file mode 100644 index 0000000..0dfb527 --- /dev/null +++ b/src/arduinoNano/arduinoNano.ino @@ -0,0 +1,16 @@ + +void setup() { + pinMode(2, INPUT); + pinMode(9, OUTPUT); + pinMode(7, OUTPUT); + pinMode(5, OUTPUT); + Serial.begin(9600); + + +} + +// the loop function runs over and over again forever +void loop() { + Serial.println(digitalRead(2)); + delay(20); +}