void setup() { pinMode(8,OUTPUT)
}
void loop() { digitalWrite(8, HIGH);
delay(3000);
digitalWrite(8, LOW);
delay(3000);
}
According to the code the LED should turn on and off after every 3 seconds. However, the led keeps on glowing and doesn't turn off.
Is there a error in my code or pin specification( like D8 )?