John.
I didn't use an sei instruction,no. I set the appropriate bit in a
register, read in the current SREG vale, or'ed it together,t hen used an
out instruction to store the result in the SREG. While unconventional,
it SHOULD have the same net result.
John Samperi wrote:
>
> At 07:32 AM 6/01/2007, you wrote:
> >I cannot get the timer interrupt to work.
>
> You have NOT enabled the general interrupts as far as I can
> see with a SEI instruction. This sets the general interrupt
> bit. You will also need to set to the timer interrupt, don't have
> time right now to go through your code :(
>Message
Re: [AVR-Chat] *yikes*
2007-01-06 by Thomas Keller
Attachments
- No local attachments were found for this message.