Thanks very much for the help. I didn't have ANSELH and that was the missing link. Very much appreciated!
You are welcome, with appropriate credit to byte_butcher for his comment in post 7, providing me the clue. Very happy it works for you, and for what I learned helping.
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.
In my brief (almost 3 months now!) exposure to PIC's, one of the most important things I've learned is that if a port doesn't act the way I expect, the first thing to look for is whether or not I've got all the appropriate registers set to make sure my pin is digital or analog, input or output, etc.
I've been tripped up by that one too many times already!
Glad I could help be part of the solution for once.![]()
Bookmarks