Found the PortC output issue - was a dumb typo! AAGH!
Still trying to configure PortA3 and 4 as input. They still read as 0...
Found the PortC output issue - was a dumb typo! AAGH!
Still trying to configure PortA3 and 4 as input. They still read as 0...
"Do or do not, there is no try" Yoda
Try adding ...
CMCON0 = 7
DT
OH yeah, forgot about that one! Tried it, but Port A.3 is still reading as zero.
I'm using a push button to ground and 10K pull-up.
I have spent the usual HOURS reading the spec sheet, and this is making me nuts.
"Do or do not, there is no try" Yoda
NEVERMIND!
I had set the voltage ref to use A.3 accidentally. DUH. It's always something stupid isn't it.
Thanks Darrell
"Do or do not, there is no try" Yoda
Bookmarks