Firmware for a multi-channel christmas lights controller