Activity 02.02: B Illuminated

Goal: Press the B button to turn on an LED pattern.

Success Criteria:

  • The micro:bit runs the program with no errors
  • You press the B button, and the micro:bit shows the user an LED pattern

Instruction:

m1.waitForButtonB() will make the program wait until you press button B.

Task:

  • Look at this activity to remind yourself of how to create an LED pattern
  • Use the documentation
  • Fill in the blanks below
Scroll to Top