avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] stumped by my ATmega48 (again)


From: joe
Subject: Re: [avr-gcc-list] stumped by my ATmega48 (again)
Date: Fri, 5 Oct 2007 08:40:09 -0600

On Oct 05, 2007, at 14:31 UTC, David Breeze wrote:

> Your loop is almost certainly optimsed out of existence.
> 
> try
> 
> volatile int x;

Thanks, that's a good tip.  Still no joy though.  Also while exiting
main() might be a problem with my simpler test, it wouldn't explain why
the original code -- which sat in a loop and toggled all pins every
three seconds forever -- also fails to work.

Best,
- Joe

--
Joe Strout -- address@hidden
Strout Custom Solutions, LLC





reply via email to

[Prev in Thread] Current Thread [Next in Thread]