Mighty Microbit Basic
latest
  • Lesson 1 beautiful image lesson
  • Lesson 2 lucky 7 blocks lesson
  • Lesson 3 answering machine blocks lesson
  • Lesson 4 game of chance blocks lesson
  • Lesson 5 smiley blocks lesson
  • Lesson 6 magic logo lesson
  • Lesson 7 snowflake fall blocks lesson
  • Lesson 8 screen wipe blocks lesson
  • Lesson 9 flashing heart blocks lesson
  • Lesson 10 blink blocks lesson
    • Topic
    • Quick links
      • blink blocks activity
      • blink blocks quiz
      • blink blocks quiz answers
      • blink blocks challenges
    • Prior learning / place of lesson in scheme of work
    • Documentation
    • Objectives
  • Lesson 11 night light lesson
  • Lesson 12 game counter lesson
  • Lesson 13 happy birthday blocks lesson
Mighty Microbit Basic
  • Docs »
  • Lesson 10 blink blocks lesson
  • Edit on GitHub

Lesson 10 blink blocks lesson¶

Learn how to create a blinking LED.

Topic¶

Plot

Quick links¶

  • blink blocks activity
    • ~avatar avatar
    • ~
    • ~avatar boothing
    • ~
  • blink blocks quiz
    • Name
    • Directions
    • 1. Describe what plot does?
    • 2. Draw which LED is ON after running this code
    • 3. Draw which LED is ON after running this code
    • 4. Draw which LED is ON after running this code
  • blink blocks quiz answers
    • 1. Describe what plot does?
    • 2. Draw which LED is ON after running this code
    • 3. Draw which LED is ON after running this code
    • 4. Draw which LED is ON after running this code
  • blink blocks challenges
    • Before we get started
    • Challenge 1
    • Challenge 2
    • Challenge 3
    • Challenge 4
    • Challenge 5

Prior learning / place of lesson in scheme of work¶

Learn how to control a blinking LED. We will be learning how to create a blinking app using forever as well as simple commands, such as plot, unplot and pause.

Documentation¶

led.plot(0, 0)
led.unplot(0, 0)
basic.pause(100)
basic.forever(() => {})

Objectives¶

  • learn how to turn on LED lights on the LED screen
  • learn how to turn off LED lights on the LED screen
  • learn how to pause program execution for the specified number of milliseconds
Next Previous

© Copyright 2018, sean Revision faf697ce.

Built with Sphinx using a theme provided by Read the Docs.