Thank you for writing what I was thinking! Yes you are correct. I guess I am confused about the configuration of ADCON1 register, particularly bits 0-3. It appears this configures the port as whole and this determines which pins can/will be analog inputs or digital IO pins. In particular I read this post which concerns me:
http://www.picbasic.co.uk/forum/show...ghlight=ANALOG
Since the PCB is already developed it concerns me that the I/O pins can only be configured per the chart in the datasheet. So, if this is configured so that all pins are analog then specific pins are converted after that to digital I/Os what impact does this have. If these pins can be individually configured why is the ADCON1 register even needed?
Thanks,
Joe





Bookmarks