Michael,
[quote:ca3f84a0b6="six1"]with pointer to array pos, it might be easy.[/quote:ca3f84a0b6]
just checked your code a bit closer, tell me: why do you disable/enable external interrupts within the ISR ?
The code runs in the same interrupt routine you explicitly disable, and as long this ISR isn't left, all interrupts including externals interrupts, are disabled anyway.
Only clearing the pending external interrupt flag makes sense.
[quote:ca3f84a0b6]also use pushall, popall![/quote:ca3f84a0b6]
Why ? Simlpy don't use Nosave in the first case.
↧