??? 03/31/06 08:28 Read: times |
#113459 - LED BLINKING PROBLEM IS OVER Responding to: ???'s previous message |
Dear all, My problem regarding the LED BLINKING IS OVER. What i used is , i used timer. I set the timer to count from a hex value to FF hex. Every time it crosses FF Hex, it set the over flow flag. I wrote the program such a way that, whenever an overflow occurs a countoverflow variable is increased. Now, whenever i need delay, i just wait for the overflowcount to become 1800(for 0.5 Sec Delay). Whenever it crosses the no. 1800, i again set the overflowcount=0. In this way LED blinks in a regular fashion. Thanks u all for your suggestion and advice. Kaushik. |
Topic | Author | Date |
LED Blinking problem | 01/01/70 00:00 | |
WHERE | 01/01/70 00:00 | |
Re: WHERE | 01/01/70 00:00 | |
Search | 01/01/70 00:00 | |
scope it. | 01/01/70 00:00 | |
how delay calculated ? | 01/01/70 00:00 | |
eagle eyes | 01/01/70 00:00 | |
off axis ? | 01/01/70 00:00 | |
well | 01/01/70 00:00 | |
foveal | 01/01/70 00:00 | |
Off-Axis (Off-topic) | 01/01/70 00:00 | |
Precisely | 01/01/70 00:00 | |
Flicker![]() | 01/01/70 00:00 | |
Optimization problem? | 01/01/70 00:00 | |
Slow the blinking | 01/01/70 00:00 | |
Regarding the slow blinking | 01/01/70 00:00 | |
Delay too short | 01/01/70 00:00 | |
Led blinking | 01/01/70 00:00 | |
LED BLINKING PROBLEM IS OVER | 01/01/70 00:00 |