Unfortunately I don't think a polled, non-buffered routine is going to work. Data arrives in large bursts at 1 second intervals. I would prefer that an interrupt was used and the result placed in a buffer for me to use when I am ready. Hamish On Sun, Dec 19, 1999 at 05:23:57AM -0200, Jose Souto wrote: > I can't belive people still need this stuff... > MC & HNY > JSouto > > Hamish Moffatt wrote: > > > I am searching for an RS-232 serial receive routine > > which supports parity. The received data occurs in > > short bursts at regular intervals, so some sort > > of buffer is probably required also. The code in > > MicroChip AN555 receives some characters OK but > > loses over 50% of them for me. The data rate is > > 9600, and the clock rate is 10MHz (PIC16F84). > > > > Myke's code at www.rentron.com does not support > > parity, nor do some of the others I've seen on the > > net. I did not have any luck extending them. > > > > Thanks for your assistance, > > Hamish -- Hamish Moffatt Mobile: +61 412 011 176 hamish@rising.com.au Rising Software Australia Pty. Ltd. http://www.risingsoftware.com/ Phone: +61 3 9894 4788 Fax: +61 3 9894 3362 USA: 1 888 667 7839