16F1825 UART

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
DirkB
Posts: 116
Joined: Wed Feb 08, 2012 2:45 pm
Has thanked: 7 times
Been thanked: 11 times

16F1825 UART

Post 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

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: 16F1825 UART

Post 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
Martin

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times

Re: 16F1825 UART

Post 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

Post Reply