PDA

View Full Version : 16F676 A/D peoblem



jplamson
- 4th April 2006, 15:01
Using a PIC16F676 in the Lab-X4 and the sample program ADCIN1X4. Erything works fine using an external sigal on AN3 but I cannot get any other channel to work. Of course I reset register the ANSEL register as needed. Jeff
Smoyer has offered several suggestions but with no success. Yes,
I have read (and re-read several times) the Microchip Data Sheet but sure must be missing something.

Would appreciate any help.

John

paul borgmeier
- 12th April 2006, 08:18
long shots but ...

1) what version of PBP are you using? Look in the m16F676.inc folder and make sure ANSEL equ 91h.

2) Can you post your modified code for one of the other AN channels?

Paul Borgmeier
Salt Lake City, Utah
USA