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 58/63
What You Should See
At the beginning of the program the servo should move to 90 degrees and then react to the orientation of the micro:bit. If you hold
the micro:bit flat, the servo will be at 90 degrees. Then if you tilt the servo to the left, it will move less than 90 degrees toward the
value of 15. If you move it to the right, the servo will move toward 165.
Troubleshooting
This Seems Backward
You may be holding the micro:bit in a different orientation. Flip it around and try again!
Servo Isn’t Working
Double-check your wiring! Remember, red to 3.3 volts, black to ground, and white to signal.
Experiment 11: Using the Compass
Introduction
This experiment is just plain fun! Have you ever used a compass? Are you a little confused in terms of which direction to go? Fear
not! We will build a digital compass that will keep you on track to the North Pole using the micro:bit’s onboard compass chip!
Parts Needed
You will need the following parts:
1x micro:bit
1x Micro B USB Cable
1x micro:bit Breakout (with Headers)
1x Breadboard
4x Jumper Wires
2x LEDs
2x 100Ω Resistors
Didn’t Get the SIK for micro:bit?
If you are conducting this experiment and didn’t get the Inventor’s Kit, we suggest using these parts:
Suggested Reading
Before continuing with this
experiment, we recommend you be
familiar with the concepts in the
following tutorial: