Make a Tilt Sensor With Your micro:bit
Program your micro:bit so you can use it to see how far your micro:bit is tilting. When it is straight it will be at 0 degrees.
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 - Show your number.
Program your micro:bit to show how far your micro:bit is tilting.
Hooray! You Did It!
If you need help, click me to see the finished product!