Posted: Wed Feb 27, 2019 5:17 am Post subject: Pin Change Interrupt 22 on ATMEGA 1284
My understanding is that most of the pins on the ATMEGA microcontrollers can be used as pin change interrupts.
I have written this code which gives me unknown interrupt and unknown interrupt source errors:
There's no Int22/23 interrupt vector, check how PC-interrupts work.
Every group of 8 PC-pins from one port call one vector, PCMSK selects which ones are active, the user needs to write code to find out which pin/pins actually triggered.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum