> Another IOC question: what happens if a pin on portb changes > while i'm busy with the interrupt handler from a previous pin > change? I'm using four timed PWM modulated signals which > could come very close together, so the chance of collosion is > quite high It might be better if you connect your signals to four general pins and OR the four signals together into b0 and use the INT function. When an INT occurs, poll the signal pins to find out which one caused it. If signals really do come that close (ie closer than you can process them in an ISR) then there'll have to be some sort of flagging or logging so that events can be processed at a time when you know it can be done without interruption -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu