Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Sun Feb 06, 2005 12:52 pm
Have you tried reading the manual?
setup_adc( ADC_OFF );
regall
Joined: 15 Jan 2005 Posts: 6 Location: Turkey
Posted: Tue Feb 08, 2005 3:49 am
i agree that u should somethimes read datasheets.
set_adc_channel(NO_ANALOGS);
Ttelmah Guest
Posted: Tue Feb 08, 2005 4:01 am
This is really a question of what the original poster means by 'disable the ADC'. The first answer, 'turns off' the ADC converter. The second answer sets the input multiplexor, to route none of the input pins to the ADC converter. The two together, give you digital operation, without the ADC clock running, or any pins routed to the component. :-)
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