

KittyCode Programming Challenge



Make a Step Counter with Your micro:bit
Program your micro:bit to count your steps for the sun ball lab!
​

1 - Start a new project in MakeCode
Go to "MakeCode.microbit.org" to start a new project by clicking the new project icon above. Click the purple plus box labeled "New Project" to begin.
​
2- Start your steps at zero!
Program your micro:bit to start your steps at zero and tell you when to start walking. Try these blocks:
​







3- Show your steps!
Program your micro:bit to display the steps it has counted. Try these blocks:
​






4- Count your steps!
Program your micro:bit to count your steps when it has been shaken. Try these blocks:
​






5- Restart your steps!
Program your micro:bit to restart your counter when you press the "A" button. Try these blocks:
​






Hooray! You did it!
​
If you need help, click me to see the finished product!