[Top][All Lists]

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

Re: [avr-gcc-list] Problem with timer0 overflow interrupt in c language.

From: David Kelly
Subject: Re: [avr-gcc-list] Problem with timer0 overflow interrupt in c language..
Date: Thu, 6 Dec 2007 17:17:13 -0600
User-agent: Mutt/

On Thu, Dec 06, 2007 at 09:50:30PM +0100, Clemens Koller wrote:
> Tried to remove the cli(); ?
> You won't get any interrupts after cli();

The interrupt enable bit in SREG should be restored to its prior value
on exit from the ISR().

I think setting the stack pointer is one big potential problem. The
other is that his LED is flashing too fast to see, assuming its wired

David Kelly N4HHE, address@hidden
Whom computers would destroy, they must first drive mad.

reply via email to

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