KU5D
Joined: 10 Feb 2008 Posts: 46 Location: Asheville, North Carolina
|
|
Posted: Sat Apr 12, 2008 5:45 pm |
|
|
I've not worked with the 877 but I think it'll do software uarts. Do the following:
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, ERRORS, stream=PC)
#use rs232(baud=4800, xmit=PIN_D7, rcv=PIN_D6,stream=PIC)
Set your pins for the software uart according to your hardware, and set the baud rates for what you want. If you're using interrupts on your comm ports, the software uart is a bit different, but this should get you started. _________________ Confidence is the feeling you have right before you fully understand the situation... |
|