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
Instruction:
m1.waitForButtonA()
will make the program wait until you press button A.
Task:
- Look at the ‘Instruction’ section
- Use the documentation
- Fill in the blanks below