Against the Clock — Notes for Club Leaders


In this project, children will learn how to make a timer, which can be used to challenge their friends!


For this project, the Code Kingdoms microbit editor should be used.

You can find a completed version of this project at, and the compiled .hex file can be downloaded by clicking the ‘Download Project Materials’ link for this project, which contains:

  • Timer.hex

Learning Objectives

  • Repetition (while loop);
  • ! (not) Boolean operator.

This project covers elements from the following strands of the Raspberry Pi Digital Making Curriculum:


  • “Challenge your friends!” - use the timer to set challenges for others to complete.
  • “Counting Down” - using a while loop to create a timer that counts down until it reaches 0.