HiI am trying to get the comparitor one to trigger an interup.I have setup the V ref and the comparator as below void Compatator1_Initialize(void){ CVRCONbits.CVROE = 0 ;// should be 0 -> Vref is not used with external pin CVRCONbits.CVRR = 0 ; // should ..
↧