摘要 |
A switching circuit adapted in an LED circuit and an LED circuit are provided. The switching circuit has a mode-selecting circuit, a comparator and a control module. The mode-selecting circuit has a voltage-dividing module and a switch. The voltage-dividing module receives and divides a reference voltage to further generate a working voltage. The switch is connected to the voltage-dividing module, wherein the switch has an output. The comparator comprises a first input connected to the switch, a second input and a comparator output. During a measuring mode, the switch transfers the reference voltage and the second input is connected to the comparator output. During a working mode, the switch transfers the working voltage, the second input of the comparator receives an output voltage of the LED circuit and the control module generates a control signal according to the voltage of the comparator output to switch the LED circuit.
|