Joined: 08 Sep 2003 Posts: 92 Location: Glasgow, UK
ADC channel selector for the 16F913
Posted: Wed Jun 15, 2005 9:00 am
I am about to embark on a new project using the 16F913. Before I upgrade my PCM compiler to get the 16F913 capability, can someone please double check for me the ADC channel selector setup.
If I read the data sheet correctly, it looks as if I should be able to set the ADC channels individually using the ANSEL register. This is what i need clarifying - as I only intend to use 3 of the channels for the ADC, the remainder of the port needs to be Digital I/O.
How reliable are the CCS header files for this device as they tend to get them wrong with new chips?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Jun 15, 2005 9:37 am
These are the constants from 16F913.H for vs. 3.225.
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