Needs to take into account the device and number of LEDs connected.
Needs to take into account the device and number of LEDs connected.