The line sensor is a component in the Climate Action Kit. It senses the difference between a matt black and a matt white line, and can attach to blocks that come in the Climate Action Kit.
This sensor can also be used as a wheel on vehicle builds, without connecting it to the breakout board.
This video will guide you through the basics of how to connect the line sensor to the Climate Action Kit breakout board, and how to use the line code blocks in MakeCode.
Line Sensor | Tutorial
MakeCode Blocks
The Forward Education extension comes with several new blocks you can use to control the line sensor. Download the sample code below to your micro:bit to get started with testing your line sensor.
Feeling Stuck? Explore the Knowledge Base for common questions and troubleshooting tips.