A phototherapy system includes a channel driver, a first microcontroller and a pad comprising a string of light-emitting diodes (LEDs). The pad also comprises a second microcontroller that autonomously controls the string of LEDs such that the LEDs are controlled even if communication between the first microcontroller and the pad is interrupted.