How can one generate a precise time delay wihtout using the timers and using only the software loops.
I make delays (usually) by having (or sacraficing) a timer that generates a mili second interupt. Most of my programs have a mili-second timer (really a counter) in maintained software. Sometimes I create a variable and increment it in the ISR, poll it in the main loop, and clear it when it reaches the target value. This works well enough for my apps where +- 1mS (or even more) is trivial. How precise you need to be for you app? Andy
PS - I go through all this just because I hate using busy waiting techniques in embedded software. While the uC is in this state, it's doing nothing else. Andy