Hi Sumeet,

On 12/8/05, Sumeet Pal Singh <[EMAIL PROTECTED]> wrote:
> The delay function is the regular one from <avr/delay.h>
>  I havce not written the delay.

Since you're not showing us the actual code that you used (since the
delay function inside <avr/delay.h> is called _delay_ms not delayma)

and since you've said that repeating the call to delay 100 times gives
the correct result, then I'd speculate that you have a semicolon at
the end of your for statement, something like this:

>  for(char i=0;i<100;i++);

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to