LED brightness adjusting method based on MCU
The embodiment of the invention discloses an MCU (Microprogrammed Control Unit)-based LED (Light Emitting Diode) brightness adjusting method, which comprises the following steps: under the control of a first adjusting instruction for adjusting the color of a three-color LED circuit, analyzing the fi...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses an MCU (Microprogrammed Control Unit)-based LED (Light Emitting Diode) brightness adjusting method, which comprises the following steps: under the control of a first adjusting instruction for adjusting the color of a three-color LED circuit, analyzing the first adjusting instruction to obtain a target color which is the color needing to be presented by the three-color LED circuit; and adjusting the conduction time of the red LED, the conduction time of the blue LED and the conduction time of the green LED according to the target color so as to enable the color presented by the three-color LED to be consistent with the target color. The color of the nixie tube can be adjusted under the condition that a special driving chip is not used, and the cost of the nixie tube is reduced.
本发明实施例公开了一种基于MCU的LED亮度调节方法,所述方法包括:受控于调整所述三色LED电路颜色的第一调整指令,解析所述第一调整指令以获得目标颜色,其中,所述目标颜色为所述三色LED电路所需要呈现出的颜色;根据所述目标颜色分别调整所述红色LED的导通时间、所述蓝色LED的导通时间以及所述绿色LED的导通时间以使所述三色LED所呈现出的颜色与所述目标颜色一致。本发明可以在不使用专用驱 |
---|