Hi All
I'm happy to say my LCD is up and running. I'm impressed by the number of
quick responses to my question.
Thanks to all for the replies and tips. You guys are great.
Gordon
Hi All
I'm happy to say my LCD is up and running. I'm impressed by the number of
quick responses to my question.
Thanks to all for the replies and tips. You guys are great.
Gordon
You're welcome!
Yeah we knowYou guys are great.
Just to satisfy my own curiosity... what was the problem???
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
The problem was a couple of issues. The port wasn't set to digtal (ANSEL),
Another was the pull-up resistor was omitted. I checked the data sheet
to make sure the CMCON was turned off, but somehow didn't realize the
ANSEL register needed to be set to 0. Bet I wont forget about this register
in the furture.
Thanks again all.
Gordon
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 comparators and ADCs.
Learning opportunityBet I wont forget about this register![]()
Last edited by mister_e; - 4th February 2007 at 20:58.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
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.
For the record, i was refering to post #7
But i have to agree, many pin have an open-drain output on this pin.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks