On Sat, 27 Feb 1999, Andy Kunz wrote: > At 12:09 PM 2/27/99 -0800, you wrote: > >On Sat, 27 Feb 1999, Ravi Pailoor wrote: > > > >> Configure the Tx pin of Port C as output. > > > >NO! The UART will not work if the pin is set as output. > > GONG! It does work. All the programs I have use a 0 in the TRIS bit for > the tx pin. On which chip? Let me quote from the 16C7x data sheet: ------------------------------------------------- Bit SPEN (RCSTA<7>), and bits TRISC<7:6>, have to be set in order to configure pins RC6/TX/CK and RC7/RX/DT for the Serial Communication Interface. ------------------------------------------------- Notice it says "set" not "clear". I was bitten by this the first time I tried to transmit on a 16C74A, so I remember it quite well - I have no idea how you made it work the other way, but "it works for me the way the book says" :-) Cheers, Bob