Activity 01.03: clear() your mind, use sleep()

Goal: Learn the syntax clear() and sleep().

Success Criteria:

  • The micro:bit runs the program with no errors
  • You turn on at least one LED, sleep the micro:bit, and then clear the LED screen


m1.clear() will reset the LED screen back to blank.
sleep(1) will cause the micro:bit to stop all actions for as many seconds as you specify in the brackets.


  • See the examples in the ‘Instruction’ section
  • Use the documentation
  • Fill in the blanks in below
Scroll to Top