microcontroller management code