This is the updated version of the Compass tutorial from the website https://makecode.microbit.org. Students will write a code that uses the built in compass on a micro:bit to display which direction the micro:bit is facing!
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.