Skip to content

Programming

I’ve been using PlatformIO to program my control board. Please check out week 9 for more information about the programming workflow.

For the programming part, I used to program the board below to control a stepper motor based on a servo signal input or I2C commands. I also programmed a bunch of LEDs to keep track of what is going on inside the board.

The whole code is non-blocking, which means that it can run simultaneously multiple non-blocking functions like reading sensors values and communicate with other boards.

You can download the source code of the project by clicking the button below.

Download sources


Last update: July 9, 2022