pic16f1789 adc resolution
Posted: Tue Nov 01, 2022 4:06 pm
Hi
I am using a PIC16F1789 which has a 12 bit a-d. this works fine in the simulator using a slider pot DISPLAY READS 0 - 4095 over a 0 -5 V range. when I use a programmed chip in my test rig it's defaulting to 8 bit not 12bit which is giving incorrect readings. please advise if this is a bug or is there a simple workaround.
I am using a PIC16F1789 which has a 12 bit a-d. this works fine in the simulator using a slider pot DISPLAY READS 0 - 4095 over a 0 -5 V range. when I use a programmed chip in my test rig it's defaulting to 8 bit not 12bit which is giving incorrect readings. please advise if this is a bug or is there a simple workaround.