Hi all,
I've been trying to set up the ccp1 on this MCU for two days now. I got to the point where I have the ccp1 irq working (here is the irq fragment)
//------------------ code fragment begins ----------------------- if (PIR1bits.CCP1IF==(unsigned int)1){ newCCPval=ReadCapture1(); newCaptureDataFlag=1;