When debugging the ADC on the above PIC (with pickit4, and also by console logging), I'm finding that the registers are not being set properly.If I try to set the MSB of ADCON1 using the following line of C:ADCON1bits.ADON = 1;the compiler generates a BSE..
↧