my question, as follows i m using a PIC16f877A on ACE board by CCS that the one which have 2 rs232 inputs,
i want to use both of them at the same time (i.e. receive and send to both of them)
how can i go about that ??
i will be sending characters to both (i.e. use putc())
can the compiler distinguish between both signals ..??
how can i declare #use rs232 for Two..??
how can i use putc() for two signals....?
do i have to set the receive and transmit for both to the same pin ??
i hope i made it clear
thank you in advance
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
Posted: Thu Nov 17, 2005 8:37 am
There is lots of code here on this board about using two RS232 I/Os.
Use STREAMS (see #use RS232 in the manual) to differentiate between them.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum