[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] (Newbie)2.Delay function not working as required
From: |
James Washer |
Subject: |
Re: [avr-gcc-list] (Newbie)2.Delay function not working as required |
Date: |
Wed, 7 Dec 2005 19:13:57 -0800 |
I think you should post your delayms() timer code here.. I'm sure someone will
be able to help,
On Wed, 7 Dec 2005 18:38:57 -0800 (PST)
Parthasaradhi Nayani <address@hidden> wrote:
> Hello,
> What is the code for delayms function? If you have a doubt that
> optimisation is causing a problem, you could disable optimisation,
> recompile and check the output (delay time).
>
> Regards
> Nayani
>
>
> Sumeet Pal Singh <address@hidden> wrote: Hi
> We tried to put delay in our program but it is not that reliable,
> When we do
> for(char i=0x00;i<100;i++)
> delayms(100);
>
> The output which we get is not 100*100ms but something unexpected. The
> variable i is not used anywhere else in program. Is it that the optimisation
> is causing problem, if yes please tell how to remive it.
>
> Thanks
> Sumeet
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>
>
>
>
> ---------------------------------
> Yahoo! Shopping
> Find Great Deals on Holiday Gifts at Yahoo! Shopping
Re: [avr-gcc-list] (Newbie)2.Delay function not working as required, Christopher X. Candreva, 2005/12/08