I set the following:
GICR = 0x40; //for int0
MCUCR = 0x01; //int for logic change
//enable global int
#asm ("sei")
Not sure how to verify if everything is set. Still working with/learning the Studio4 debugger.
Brian
--- In AVR-Chat@yahoogroups.com, "s.holder123@..." <s.holder123@...> wrote:
>
> How are you writing to the MCUCR ? the default setting for the interrupt pins is low level detect (iscx1 = 0, iscx0 = 0), sounds like you are not actually setting the required value in the MCUCR, can you verify that the value is as you think it is.
>
> RegardsMessage
Re: int 0 problem
2009-03-30 by Brian
Attachments
- No local attachments were found for this message.