Andy Warren wrote: >Dan Michaels wrote: > >> I was referring to the situation where you are attempting to use an >> analog-configured pin as a digital output, which is what I thought >> Tony was asking about ??????????? > > Dan: > > That IS what he was asking about, but the problem with > analog-in/digital-out pins has nothing to do with "successive" > writes; that's an entirely different issue related to capacitance > and the fact that I/O Writes happen at the end of an instruction > cycle while I/O Reads happen at the beginning of the cycle. > Hmmmm, as I understand it, pins configured as analog but used as digital outputs always "read" as digital "0". Therefore, successive BSF instructions to a sequence of pins will always clear any pins that were previously set, regardless of what is connected to them externally. I thought this was the whole problem Tony was talking about. No? This is a different situation from where the pins are configured as digital, and where they may have caps hanging on them externally, and where you also use a series of BSF/BCF cmds. Here, the caps will hold the pins temporarily. Been there, done both - been burned every which way. [I think I'll shut-up now]. - danM -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST