program logic on each microcontroller