void setup(){
pinMode(10,OUTPUT);
}
void loop() {
digitalWrite(10,HIGH);
delay (300);
digitalWrite(10,LOW);
delay (3000);
}
Very easy Sketch but the LED on Pin 10 goes off for 0.3 sec and stays ON for 3 sec
How can
void setup(){
pinMode(10,OUTPUT);
}
void loop() {
digitalWrite(10,HIGH);
delay (300);
digitalWrite(10,LOW);
delay (3000);
}
Very easy Sketch but the LED on Pin 10 goes off for 0.3 sec and stays ON for 3 sec
How can
Slightly different story from this one.
What's the problem?
Please remember to use code tags when posting code
How is the led connected ? Via resistor to 0v.
Note you have 300 and 3000 mS set, make those the same to start with