# Microbit and a L292N to control motors

**URL:** <https://forum.makecode.com/t/microbit-and-a-l292n-to-control-motors/41509>\
**Category:** Educators' Lounge\
**Created:** [January 14, 2026, 6:43pm UTC](https://forum.makecode.com/t/microbit-and-a-l292n-to-control-motors/41509 "2026-01-14T18:43:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![franek](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@franek](https://forum.makecode.com/u/franek)\
**Post date:** [January 14, 2026, 6:43pm UTC](https://forum.makecode.com/t/microbit-and-a-l292n-to-control-motors/41509/1 "2026-01-14T18:43:03Z")

</div>

Hello world,

I’m in the process of programing a robot that use a microbit and a L292N to control the speed of the motors. I’m using as well 3 digital sensors to follow a 5cm large line. I’m having some issues to use blocks in order to set the speed of each motor in order to follow this line. I did not find any solution on line regarding such project. Does anybody worked on a similar project? Did you used an extension (my Microbit is plugged to an micro:IO Extender). And how to use correctly the ENA and ANB pins in order to use these motors. I would be grateful for help, I’m stuck here.
