The problem is that the resistance of all this pin is only 22ohm instead of high impedance as normal ADC. It results input analog signal pull down.
I check register: ANSEL=F0, ADCON0=15,ADCON1=30. they are correct.
(Internal oscillator is used)
Please help
Cindy _________________ CC
rwyoung
Joined: 12 Nov 2003 Posts: 563 Location: Lawrence, KS USA
Posted: Tue Jan 18, 2005 9:00 am
Look at the LST file. Is something occuring after your setup routine to alter the ADC configuration?
Can you post a complete program (main() and the minimum of commands to demonstrate the problem)?
And it is always a good idea to post the version number of the compiler you are using. PCM Programmer and a few others here keep pretty detailed lists of known bugs and in what version they appeared and were fixed. _________________ Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum