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?
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?
You can't teach an old dog new tricks, but I'm always willing to try.
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
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Hi, Chris
you even can use a digital input as an analog one ....
with the RCTime function ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
You can't teach an old dog new tricks, but I'm always willing to try.
Bookmarks