| ??? 02/06/00 17:57 Read: times |
#1399 - Controlling brightness of LED: |
Dear friends, I have to control the voltage across an LED (brightness) connected to 2051. Kindly give me an idea what can be done ? I already have a similar application in which the brightness of LED is controlled from port P1.4 (pin 16 of 2051). +5Volts /| LED 580 OHM |______||____////______ | |/| | | | | | | | |__________| |____________| | | | + | | 100uF | 25 Volts | P1.4 | /_______/////_________| 580 OHM Can somebody explain what is the code behind this circuit that controls the brightness of the LED. Do you think that the brightness fixed remains there for a long long period. Thank you Babar/ |



