At 04:41 PM 3/6/02 +0000, John Walshe wrote: >Folks, > In the 12C672, if using GP0,1 as outputs and using GP3 as input with int >on change enabled, will a change on either of the outputs cause an >interrupt?. From the I/O pin diagram in the datasheet it would appear that >this is the case. Can anyone confirm or discount this for definite. I have good news and bad news for you. Pins that are set as outputs do NOT cause a port change interrupt. Thats the good news. The bad news is that changing those outputs WILL cause you to miss interrupts *IF* your output pin changes at exactly the same time as the desired input. If your output pins did not ever change while you were waiting for an interrupt on GP3, there would be no problem. But if the outputs *are* changing, look out! 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