int led = 13; //LED VERMELHO
void setup() {
pinMode(led, OUTPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(led, HIGH);
Serial.println("Led ligado");
delay(2000);
digitalWrite(led, LOW);
Serial.println("Led desligado");
delay(2000);
}
int led = 13; //LED VERMELHO
void setup() {
pinMode(led, OUTPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(led, HIGH);
Serial.println("Led ligado");
delay(2000);
digitalWrite(led, LOW);
Serial.println("Led desligado");
delay(2000);
}