You can get the RX parity the same way. Increment Count every time you receive a '1'. After receiving all nine bits you should have a 0 in the bit 0 location of Count for even parity and a 1 for odd parity. Dave Mumert > > If you just want the parity then count the number of 1's. There is a very fast > algorythm for this in the archives I think ... > > If you want the parity while transmitting, just increment a counter every time > you send a '1' inside your serial routines. The 0 bit of the counter is the > parity (even). You invert it (XOR 1) to get odd parity, and then you send it. > > Peter -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.