Guide
1/22/2018 micro:bot Kit Experiment Guide - learn.sparkfun.com
https://learn.sparkfun.com/tutorials/microbot-kit-experiment-guide/all#about-the-motobit-board 50/75
Be sure to add the moto:bit package as instructed in the Installing the moto:bit Package in MakeCode section of this
tutorial.
Now, you can either download the following example script below and drag and drop it onto your micro:bit, or use it as
an example and build it from scratch in MakeCode.
Calibration is very important with the line sensors to work accurately. Your environment will greatly affect the P0
analog readings and thresholds for the surface value so you might have to customize these numbers to suit your
application.
Code to Note