Line Tracing
MakeCode Programming Tutorial
Extension link: https://github.com/KittenBot/pxt-koi2
Search for KOI2 in the search bar, select KOI 2.(KOI 2 has been approved by Microsoft)
The extension will be imported into your project.
Coding Blocks
Sample Program
Armourbit users need to use the corresponding initialization block
Sample Program Operations
Press Button A on the Micro:bit to track a black line, Micro:bit will display the X1 coordinates of the tracked line.
Press Button B on the Micro:bit to track a custom color line, aim the KOI at the color for calibration. Micro:bit will display the X1 coordinates of the tracked line.
Last updated