At 11:06 PM 11/7/02 -0500, Daniel Rubin wrote: >If I always write to GPIO making sure the paired outputs are always the >same using MOVWF (as opposed to BCF/BSF) would I have any problems? Are >people concerned with the internals of the PIC and output pins are toggled >based on register changes or are they just concerned with user code that >might not keep the paired pins in sync? I can certainly eliminate the later. This sort of thing is done on a regular basis. So long as you ensure that the pins are always the same as each other, you should have no problems. Just write GPIO all at once instead of using individual bsf/bcf commands and you should be fine. The easy way to check for this is to put a small value resistor in series with either the Vss or Vdd pin of the pic and monitor the peak current with a scope. Disconnect the load and toggle the pins. The peak current should remain the same whether the pins are connected together or not. dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 18 years of Engineering Innovation (1984 - 2002) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' 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 hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu