Does Pulsin command automatically set designated port pin to digital (if for example the Port is analog)? I'm guessing not.
Printable View
Does Pulsin command automatically set designated port pin to digital (if for example the Port is analog)? I'm guessing not.
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?
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.
You're a wealth of knowledge, thanks. Is that a pic of you?
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.