Nick Hale wrote: > I'm, trying to do flow control, using PORTA,6 to signal that the pic > is ready to recieve data. > > pseudocode is: > > interrupt handler: > set PORTA,6 high > retfie > > main loop: //wait for interrupt handler > if PORTA,6 is low I'm confused. Is RB6 a input or output? Are you using it as a internal flag or is it communicating with a external device. Your pseudo code above seems to be inconsistant with itself. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist