max0412
Full Member level 5
Is this the proper way to configure AN1 for analog input in the ADCON0 register. I’m not sure how to deal with unimplemented bits. Bit’s 5 and 4 are unimplemented does that mean when I write to the ADCON0 I put 00 in them? Or is this wrong?
PIC10F220 adcon0 register
Writing to ADCON0
PIC10F220 adcon0 register
Writing to ADCON0
Code:
movlw b'10000101' ;CONFIG adc: AN1 Analog input
movwf ADCON0