Built-in Tracking: Color Balls

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

Armourbit users need to use the corresponding initialization block

Sample Program

Sample Program Operations

  1. KOI will track the balls automatically, the ID will be displayed on the Micro:bit.

  2. Press Button A on the Micro:bit to show the coordinates of the ball.

Last updated