Initial committ
This commit is contained in:
parent
b49ecd8746
commit
bcd25bd40a
16
src/arduinoNano/arduinoNano.ino
Normal file
16
src/arduinoNano/arduinoNano.ino
Normal file
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user