This video shows a micro:bit that draws an arrow pointing to magnetic north. As you turn the micro:bit, the arrow adjusts itself so it continues to point to magnetic north.
No download links available.