For the record

Originally Posted by
mister_e
Just to set the record. For this device and by the datasheet, PORTA.4 is not an open drain as some suggested. It's really a full CMOS output pin. So you don't even need the pull-up resistor.
But YES, you have to disable the internal analog comparator
s and ADCs.
Learning opportunity

For the record, I checked the data sheet before telling him to put in ANSEL and is why I did not say to use pullup, and for the record I was surprised it did not need one.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks