Firmware software for microcontrollers