On Thu, 3 Apr 2008, piclist@ian.org wrote: > while (!txsta.TRMT) > txreg = 'H'; > while (!txsta.TRMT) > txreg = 'i'; You have your logic backwards. TRMT is high until you write something to TXREG. -- John W. Temples, III -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist