0 votes
by (160 points)
How do you make an LED blink for a certain time Arduino?

1 Answer

0 votes
by (1.5k points)
Why do you need the second delay? Because the loop() runs over and over again. Without slowing down the program, the LED will only be turned off until the computer reaches the top of the loop again- less than 1/10th of a second later.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jun 17, 2021 by delay (160 points)
0 votes
1 answer
0 votes
1 answer
asked Jul 25, 2021 by timer (200 points)
0 votes
1 answer
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer
asked Nov 28, 2019 by resistor (2.6k points)
0 votes
1 answer
asked May 29, 2020 by light (680 points)
0 votes
1 answer
...