If you're using ADCIN, then TRIS and ADCON1 are the only registers you need to mess with.
PBP knows the clock setting from DEFINE ADC_CLOCK ? and handles ADCON0 for you.
If you're using ADCIN, then TRIS and ADCON1 are the only registers you need to mess with.
PBP knows the clock setting from DEFINE ADC_CLOCK ? and handles ADCON0 for you.
Thanks for the replies guys,
I thought it was doubling up on the settings. I was going to use the adcin command so will drop the adcon0 from my prog. as well as check out the samples on the cd.
Is that the same for most PBP commands, can I forget about setting the registers manually?
Regards,
Paul
No. There are still some registers you'll want to configure manually. Depending on the PICIs that the same for most PBP commands, can I forget about setting the registers manually?
and command. Pretty much everything is covered in the manual for each command, but if
you have questions, post them here.
Bookmarks