Firmware for a balancing robot based on the STM32F0 microcontroller.