Master-slave microcontroller communication protocol