Docstoc

LED

Document Sample
LED Powered By Docstoc
					                  Problem related to led, push button interfacing

1. led1 should be on for 2sec and off for 3sec and led2 should be on for 3 sec when
    led1 is off and should be off for 2 sec when led1 is on.
2. led1 should be on when switch 1 is pressed and remains on.
3. led 1 should be on when switch 1 is pressed and when we release switch it should
    get off.
4. using p1.5, generate a pulse having 50% duty cycle.
5. using p1.5, generate a pulse having 66% duty cycle.
6. using p1.5, generate a pulse having 20% duty cycle.
7. using p1.5, generate a frequency of 1KHz.
8. when switch 1 is pressed it generate a frequency of 1KHz and when switch 2 is
    pressed it should generate a frequency of 2KHz.
9. when switch 1 is pressed it should generate a pulse having 50% duty cycle and
    when switch 2 is pressed it should generate a pulse having 66% duty cycle.
10. led 1 should be on when a particular code is entered by switch e.g. switch 1 for 3
    times and switch 2 for 2 times. Otherwise led should be off.

				
DOCUMENT INFO
Shared By:
Stats:
views:46
posted:3/28/2010
language:English
pages:1