From bcd25bd40a48bc3c4091edf9de68696bbdbcb0b3 Mon Sep 17 00:00:00 2001 From: xTechnoErikx Date: Thu, 7 Apr 2022 14:33:04 +0200 Subject: [PATCH] Initial committ --- src/arduinoNano/arduinoNano.ino | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/arduinoNano/arduinoNano.ino 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); +}