Activity 06.01: Fixing a Fall Detector

Goal: Fix the code and fill in the blanks so that the fall detector works again.

Success Criteria:

  • The micro:bit runs the program with no errors
  • The program displays the acceleration of the micro:bit along the Z axis every 0.25 seconds
  • When the device is turned upside down, the while loop exits and the program says “Help!”

Task:

  • Use the documentation
  • Fill in the blanks
  • Fix all the bugs
  • See this demo
Scroll to Top