A digital LED controller for an illumination device, comprising: a data input module configured to receive an input signal and to send the input signal to a determining module; the determining module comprising a converting module and a storage; wherein the converting module is configured to convert the input signal into an output signal, which output signal drives an existing type of digital LED device of the illumination device; and wherein the storage stores a first data format used to drive a first type of digital LED device and a second data format used to drive a second type of digital LED device; and wherein the determining module is configured to: (a) determine whether the input signal belongs to the second data format when the illumination device only comprises the second type of LED device; and if the input signal is different from the second data format, the converting module converts the input signal into the second data format; and (b) determines whether the input signal belongs to the first data format when the illumination device only comprises the first type of LED device; and if the input signal is different from the first data format, the converting module converts the input signal into the first data format; and (c) wherein when the determining module determines that the input signal received from the data input module belongs to the data format for driving the existing type of digital LED device, the determining module will bypass the input signal as the output signal; and wherein the existing type of digital LED device is one of the first type of digital LED device and the second type of digital LED device; and wherein the digital LED controller comprises a data output module configured to drive the illumination device based on the output signal received from the determining module. a data input module configured to receive an input signal and to send the input signal to a determining module; the determining module comprising a converting module and a storage; wherein the converting module is configured to convert the input signal into an output signal, which output signal drives an existing type of digital LED device of the illumination device; and wherein the storage stores a first data format used to drive a first type of digital LED device and a second data format used to drive a second type of digital LED device; and wherein the determining module is configured to: (a) determine whether the input signal belongs to the second data format when the illumination device only comprises the second type of LED device; and if the input signal is different from the second data format, the converting module converts the input signal into the second data format; and (b) determines whether the input signal belongs to the first data format when the illumination device only comprises the first type of LED device; and if the input signal is different from the first data format, the converting module converts the input signal into the first data format; and (c) wherein when the determining module determines that the input signal received from the data input module belongs to the data format for driving the existing type of digital LED device, the determining module will bypass the input signal as the output signal; and (a) determine whether the input signal belongs to the second data format when the illumination device only comprises the second type of LED device; and if the input signal is different from the second data format, the converting module converts the input signal into the second data format; and (b) determines whether the input signal belongs to the first data format when the illumination device only comprises the first type of LED device; and if the input signal is different from the first data format, the converting module converts the input signal into the first data format; and (c) wherein when the determining module determines that the input signal received from the data input module belongs to the data format for driving the existing type of digital LED device, the determining module will bypass the input signal as the output signal; and wherein the existing type of digital LED device is one of the first type of digital LED device and the second type of digital LED device; and wherein the digital LED controller comprises a data output module configured to drive the illumination device based on the output signal received from the determining module.