On Sep 1, 2011, at 6:10 PM, Nathan House wrote: > "Once the TXREG register transfers the data to the TSR register ... > the TXREG register is empty ..." "And the TXIF flag is set" > I added the IF statement to check if the TXREG register is empty. You're confusing "empty" with "reads as zero." What did you expect to =20 have happen if you transmitted a null (zero) byte? You can't tell =20 whether a register is "empty" except by checking some additional flag =20 (or value) that MEANS it's empty by whatever criteria happen to mean =20 "empty" for that peripheral. (In this case, "the character has been =20 transferred to another register, and you're allowed to put a new =20 character in the register.") BillW --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .