> I can say one thing in agreement with you- I've yet to see a decent free > UART driver for the PIC on the web. Even Fr. Thomas McGahee's, which is > the best I've seen, has some problems when applied to real systems. His is > really intended as a Tutorial - and it is excellent in that regard. It > points out many of the pit falls associated with interfacing with PIC's > USART. But for a real system where serial data is coming in and going out > while the PIC is busy doing stuff, you need to be able to handle these > tasks simultaneously. There are many approaches to this problem, and > depending on the system requirements each has its merit. I tend to prefer > interrupt driven code with circular buffers for the transmit and the > receive processes. If memory is an issue, then polled drivers may be more > appropriate. Maybe someone one day will release a driver based on his > code... I have, as I said in the very message you responded to. See the UART template module at http://www.embedinc.com/pic. I've used this code with occasional customization in several commecial projects. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.