micro:bit at home - which way now?
Write a program so that when you shake your micro:bit, it will randomly choose a direction for you to go when you're out for a walk! Thanks to David Hay, an educator in Alberta, Canada for sharing this brilliant project idea with us.
What you'll make
Get coding
Now open the MakeCode editor where you’ll write the code for your program:
How to transfer your program to your micro:bit
Discover more
This project uses the accelerometer input sensor and the LED display output. Find out more about them in the videos below:
There are more micro:bit at home activities to explore:
Share!
Let us know how you got on by sharing your project with us. Use the #microbit hashtag on Twitter or Facebook.
Sign up for our weekly email newsletter to get regular updates on new activities and ideas for your micro:bit.