Hi, Dwayne >FWIW - the early units used a modestly self-correcting serial receive >routine that I've posted previously. This receive routine is based >upon John Payson's 40 bit long serial receive buffer, where an entire >character is sampled at 3 times the baud rate and stored in a 40 bit >long shift register. The character is decoded when the start bit >reaches the end of the register - one can then examine the bit >transitions and make a "best guess" as to the location of each >bit. Sounds complicated but its not too bad. Isochronous code at >its best . I searched everywhere I could thing of and did not find John's code or yours :-( Could you post some reference to it or repost the code ? It is a very interesting technique and I would love to see how you approached the "clock recovery".. I use bit-bang a lot for serial comms but never thought about using a bit buffer to make a better decision about the timing... Best regards, Alexandre Guimaraes -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist