David D wrote: > >I don't want the TX pin to go into the hi-Z state when the transmitter > >is disabled so I leave the tris bit for the TX cleared instead. Alan P wrote: >But having set the UART up to use it, why would you then disable it? > >If you have a requirement to disable it, surely that is the time to set the >RC6 bit to an output, and then in the next instruction disable the UART. >Otherwise while the UART is in normal operation you have two outputs trying >to drive the same line, and hence fighting each other. There's no fight or contention - the UART overrides the tris settings. David... -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.