ADC module and 18F2520 Problem activating all AN's

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
king snake
Posts: 8
Joined: Thu Sep 17, 2009 5:12 pm

ADC module and 18F2520 Problem activating all AN's

Post by king snake » Fri Oct 23, 2009 10:41 pm

I am using a PIC 18F2520 it has 10 AD channels. They are arranged in two sets AN<0:4> and AN<8:12>. I can read AN's 0-4 perfectly. But the ADC module will not recognize AN8-12 as an analogue channel. Is there an updated ADC module that will allow me to easily access these channels?

Any and all help is appreciated.

Post Reply