At 03:55 PM 1/15/01 -0500, David VanHorn wrote: >Interesting. >I see what you mean here. >On the AVR or Z8, this isn't a problem because the tris-equivalent >registers can't be modified by inputs like this. Hi there, Dave. Something you wrote puzzles me - maybe there is yet another PIC wrinkle that I am not aware of. Is there any condition where the TRIS register can be changed by something happening on the port pins? If so, this is a new problem to me! The only port related problem I can think of right now is the read-modify-write issue - its not a problem since I am aware of it. But I am not aware of a TRIS register susceptibility. Is there a problem there? What causes it and what does it do? I always check or refresh TRIS and other important registers simply because I can't predict what a nasty ESD or EMI event might do to me - all I can do is deal with the problem if it happens. But it sure doesn't happen during normal operation. dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 17 years of Engineering Innovation (1984 - 2001) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body