Color Blob Tracking
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

Sample Program Operations
Press Button A on the Micro:bit to track a red color blob, Micro:bit will display the Y coordinates of the tracked blob.
Press Button B on the Micro:bit to track a custom color blob, aim the KOI at the color for calibration. Micro:bit will display the Y coordinates of the tracked blob.
Last updated