Arduino Nano - nataliacatalan/Arduino-Project GitHub Wiki

Arduino Nano

We have bought two Arduinos Nano to elaborate our project and we have checked it's correct use using the following simple code onn a blinking led. The result was positive, and the Arduino worked well.


int led=12;

void setup() {
  pinMode(led, OUTPUT);

  Serial.begin(9600);
}

void loop() {
digitalWrite(led, HIGH);
delay(500);
digitalWrite(led,LOW);
delay(500);

}