Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 665 Bytes

02-blink.md

File metadata and controls

20 lines (15 loc) · 665 Bytes

Blink LED

Steps

In the example below, the quotes are around the block name and the block parameters are in bold.

  1. Drag the "When space Key Pressed" block onto the screen.
  2. Drag the forever control onto the screen.
  3. Add the "Set LED on board all red 255" in the forever block
  4. Drag the Wait 1 second block under that
  5. Add the "Set LED on board all red 0" in the forever block
  6. Add a second wait 1 second block under that

Sample Program

Blink

Sample GIF Image

Blink GIF

Blink example on Mblock site

https://www.mblock.cc/example/blink/