|Subject:||RE: [avr-gcc-list] (Newbie)2.Delay function not working as required|
|Date:||Thu, 8 Dec 2005 20:53:47 +0800|
The unexpected delays are basically because of some ISR running in between, Is you delay function is just a loop based or interrupt based? I think it is not interrupt based. Just try disabling interrupts just before calling the delay function and enabling after the function call. If it works better then I suggest you to write a good interrupt based delay routine. Note that the interrupt I was talking about is timer interrupt raised by internal timer of AVR.
[mailto:address@hidden On Behalf Of Sumeet Pal Singh
|[Prev in Thread]||Current Thread||[Next in Thread]|