With a PIC with only one uart the easiest is to receive on the hardware uart and bitbang the outgoing serial port. As soon as you have two incoming lines, it'll get ugly really fast. If you want a higher language, and the compiler supports software serial ports (I know CCS has this), you have the basic controls up and running in 30 minutes. I think there even are examples on how to use the software serial port on their site, it's just a matter of defining two serial streams, one on the hardware pins and the other on two arbitrary pins. Take a look at http://www.ccsinfo.com/faq/?5. I have a design with this, it works like a charm. Best regards, Claudio -----Oorspronkelijk bericht----- ** What I do not know how to do is to set up a second serial port. (I think that is what I need?) The NMEA data is sent 4800,8-N-1, at one second intervals. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body