0Pricing
Arduino & IoT Academy · Lesson

Why delay() Blocks Everything

See how pausing stops your board from reacting.

The Easy Pause

The delay function pauses your sketch for a set number of milliseconds. It is the simplest way to slow things down and make a blink visible.

delay(1000);

What 1000 Means

delay(1000) waits one full second, since the value is in milliseconds. So delay(500) is half a second and delay(2000) is two seconds.

All lessons in this course

  1. int, float, bool on Arduino
  2. Why delay() Blocks Everything
  3. Blink Without delay Using millis
  4. Run Two Things at Once
← Back to Arduino & IoT Academy