Color Blob Tracking

MakeCode Programming Tutorial

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

circle-info

Armourbit users need to use the corresponding initialization block

Sample Programarrow-up-right

Sample Program Operations

  1. Press Button A on the Micro:bit to track a red color blob, Micro:bit will display the Y coordinates of the tracked blob.

  2. 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