- This topic has 2 replies, 3 voices, and was last updated 8 years, 5 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
1. We are planning to use two Leds i.e. red and IR.
2. Red led is to turn on for 500microseconds and IR needs to be turned off during that time.
3. And again IR led needs to be turned on for 500microseconds and Red turned off during that time.
How do we control the timing and switching of the leds?
please do reply asap.
Thankyou.
Blinking of LED examples will do that.
you can generate delay using loops or using timer
loop will generate approx delay while timer can generate upto 90% exact delay
as per your need you require variable delay. so you make 100 us delay and loop it for 3 times or 5 times