Published:2009/7/1 21:07:00 Author:May | From:SeekIC
The LED is the CSL310L which contains a red LED and a green LED connected back to back and mounted close together in a single moulding. The LED can emit red or green light by controlling the polarity of the applied voltage and if the polarity is switched at a rate of several hundred Hertz the emitted light appears yellow. The four combinations of inputs A and B can therefore be converted to four LED states-red, green, yellow and off. The truth table shows the LED colors corresponding to the combinations of A and B levels.
Truth TableA B X Y LED Color1 0 0 1 0 red0 1 0 0 off1 0 0 1 green1 1 C C yellow
Reprinted Url Of This Article:
http://www.seekic.com/circuit_diagram/Basic_Circuit/SINGLE_LED_CAN_INDICATE_FOUR_LOGIC_STATES.html
Print this Page | Comments | Reading(3)
Code: