Can I use port a 0-1 as analog inputs and the rest as digital output on the PIC16F62x? and how do I do it?
Printable View
Can I use port a 0-1 as analog inputs and the rest as digital output on the PIC16F62x? and how do I do it?
Had to reply just cuz I like your avaitar! But Also, You realize you don't have Analog Inputs so to speak, you have analog comparators. At least thats how I read the datasheet.
As far as your original queston goes, I think yes, just set CMCON for the AN inputs you want, and then TRISA for outputs where you want
Hi, Chris
you even can use a digital input as an analog one ....
with the RCTime function ... ;)
Alain