Skip to content
Emblem of the National Guard of the Republic of UzbekistanGUARDTECH
All exercises

1. Blinking LED

Turn the on-board LED (D13) on and off every half second.

Task

  1. 1.Press Run and watch the L LED blink.
  2. 2.Change the delay(500) values to make it blink faster or slower.
  3. 3.Make the LED stay on for 1 second and off for 0.2 seconds.

Code

Tab inserts two spaces. To leave the editor press Esc, then Tab.

Virtual stand

Program not started

Pin states
PinPartState
D13On-board LED (L)off

Serial monitor 9600

The program has not sent anything over Serial yet.