Hi Dave, I have visited the site and beginned to download the AN555.ZIP and the AN555.PDF, but after 20 minutes only 5% of data was transferred. Then I drop the connection and have searched on my book and I have found on EMBEDDED CONTROL HANDBOOK Vol. 1 of MICROCHIP the complete "software implementation of asyncronous serial I/O". On the MICROCHIP CD I have found tthe AN555 directory containing all files. This probably is the best way to manage the serial interface for application more serious, but for my problem, parity check, handling of CTS and the RTS is not necessary. I have spare only two I/O line, (TX & RX) and I need to receive from a PC one caracter or two, execute the task associate to the caracter and replay with one or two caracter at the end of the task. I need short and robust half duplex routine. Thanks Dave for your suggestion and your time. Leonardo -----Messaggio originale----- Da: Dave Johnson A: PICLIST@MITVMA.MIT.EDU Data: sabato 26 settembre 1998 16.25 Oggetto: Re: R: RS232 code on the web >>I'm searching RS232 code for receive & send command and ack to a 16F84. >Look at Microchip's Application note AN555 >(www.microchip.com/10/Appnote/Category/16CXX/index.htm), it has good code >for half-duplex asynch serial communication, using tmr0 interrupts for >bit timing. > >Dave Johnson >