I have the test circuit in the attached schematic working, including the LCD. All it does is read VR1 and VR2, display the readings on the LCD, and light an LED corresponding to whichever pot is set higher. I want to add my external Vref source to it.
If I change PortA.3 to analog in ANSEL, connect the positive side of my external 4.096V reference to PortA.3, connect the negative side to ground, and change bits 5-4 in ADCON1 to 10, are there any other changes I must make to use the external Vref?
Thanks.
If I change PortA.3 to analog in ANSEL, connect the positive side of my external 4.096V reference to PortA.3, connect the negative side to ground, and change bits 5-4 in ADCON1 to 10, are there any other changes I must make to use the external Vref?
Thanks.
Attachments
-
29.7 KB Views: 22