Goal: Change the code so that a while loop is used, instead of label and goto.
Success Criteria:
- The micro:bit runs the program with no errors
- The program displays the acceleration of the micro:bit every 0.25 seconds
- The program doesn’t end until you press “stop”
- There is no
label or goto in the code
Task:
- Use the documentation
- Replace the
label and goto loop with while loop