You guessed right. Setting Ports to Analogue is one of your housekeeping jobs.
You guessed right. Setting Ports to Analogue is one of your housekeeping jobs.
Thanks, What about the tris register, does this command set port pin to an output. If so, does it then remain in this output state?
James
I always set TRIS manually - it's only one instruction per Port. If PICBasic commands set it as well, then all's well and good, if they don't, then you've done it.
Last I looked in the mirror it was pretty close. Would be kinda daft putting up a pic of somebody else. Perhaps one of Patrick Starfish (my hero) from Spongebob Squarepants fame.
Bookmarks