On Tue, May 06, 2003 at 02:17:24PM +0200, Marco Bettini wrote: > you can find the source code of SEND and RECEIVE at these url: > > http://www.electronic-engineering.ch/microchip/modules/source/rs232/m_rs096.html > > but' i'v tested, the program enters and exits from the ISR, only the first > time, after it doesn't reenter. I didn't look at that code, but I seem to recall your interrupt handler code clears the interrupt flag at the END of the handler. Wouldn't that lose any signals that came during your handler? Of course some have different rules (eg portb you'd have to read AND clear the bits or you'd still get woken again). -- Ben Jackson http://www.ben.com/ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu