new problem...
I am trying to create an interrupt on PCINT0 (ATmega 328) which calls a macro on every phase change (the FC interrupt only reacts on rising OR falling edge)
Do you have any idea what I'm doing wrong?
Hi,
The ATmega datasheet says that a pin change interrupt will trigger if any enabled pin toggles.
So the interrupt will occur on a rising or falling edge.
Are you saying that is not happening?
Hi,
yes this ist true, that is what I need. But the code I've posted doesn't work.
I only said, that the interrupt macros provided with FC doesn't support this behaviour.