Guide
3/7/2018 SparkFun Inventor's Kit for micro:bit Experiment Guide - learn.sparkfun.com
https://learn.sparkfun.com/tutorials/sparkfun-inventors-kit-for-microbit-experiment-guide/all#introduction-to-microsoft-makecode 60/63
The magnetometer detects magnetic north and then represents your heading in degrees with north being 0 degrees, east being
90 degrees, south being 180 degrees and west being 270. Pretty cool! Now let’s put this compass to good use!
Hardware Hookup
Ready to start hooking everything up? Check out the wiring diagram below to see how everything is connected.
Polarized
Components
Pay special attention to the component’s markings indicating
how to place it on the breadboard. Polarized components can
only be connected to a circuit in one direction.
Wiring Diagram for the Experiment