grounding unused inputs
Dan Michaels email (remove spam text)
Dwayne Reid wrote:
>I would agree with your reasoning above *if* I set the TRIS registers only
>at the start of code and never touched them again. But I consider that to
>be bad practice. I refresh all important registers regularly, usually in
>the routine that looks after the watchdog timer.
Also a good idea - back when I worked with 6805, Motorola actually
recommended in their databooks to periodically refresh the TRIS
registers [whatever they called them], just in case they are
changed by ESD/noise/etc. This should be easy to do in the outermost
code loop, since the TRIS are usually set on bootup and rarely changed,
in most cases.
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email mitvma.mit.edu with SET PICList DIGEST in the body listserv
See also: www.piclist.com/techref/microchip/ios.htm?key=input
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the