The micro:bit has an onboard compass that uses magnets to produce reliable readings. The first thing we want to do is calibrate your microbit sot that you are ready to go!
On Start
Calibrate Compass
\\Follw the directions on the screen of your microbit
Did you know that directions are based on degrees??