0 votes
by (120 points)
How does delay () work?

1 Answer

0 votes
by (1.4k points)
The way the Arduino delay() function works is pretty straight forward. It accepts a single integer as an argument. ... When you do delay(1000) your Arduino stops on that line for 1 second. delay() is a blocking function. Blocking functions prevent a program from doing anything else until that particular task has completed.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Aug 18, 2020 by delayrelay (160 points)
0 votes
1 answer
asked Jun 17, 2021 by delay (160 points)
0 votes
1 answer
0 votes
1 answer
asked Jun 11, 2021 by timer (200 points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Feb 19, 2020 by delay (160 points)
0 votes
1 answer
asked Feb 19, 2020 by timedelays (240 points)
0 votes
1 answer
...