Page 1 of 1

16F1825 UART

Posted: Tue Dec 17, 2013 6:51 pm
by DirkB
Hello,

i am using hardware uart on 16F1825. Is it possible to use tx-pin as normal output?
I only need rx-input and need tx-pin as LED-output. Any ideas?

Thanks

Dirk

Re: 16F1825 UART

Posted: Tue Dec 17, 2013 7:04 pm
by medelec35
Hi Dirk,
From My experience if you use the hardware RS232 then both TX and RX are no longer available for using as an i/p or o/p.
Not sure if there is a round it or not.
If there is then I do not know how its done.
Sorry

Re: 16F1825 UART

Posted: Wed Dec 18, 2013 7:05 pm
by Kenrix2
I have not tested this in hardware but, it might work. Add this to the top box in supplementary code:
#undef TXEN
#define TXEN CSRC