Activity 02.01: Press A to print()

Goal: Press the A button to print() to the console.

Success Criteria:

  • The micro:bit runs the program with no errors
  • You press the A button, and the micro:bit prints to the console


m1.waitForButtonA() will make the program wait until you press button A.


  • Look at the ‘Instruction’ section
  • Use the documentation
  • Fill in the blanks below
Scroll to Top