Light-output of LED is decided by driving current.The stability of driving current has directly influence on light-output.In this paper,a digital controlling circuit in designed based on a micro-chips.It is proved stable by test.The experimental waveform is also given.