well since your pic already have a USART, use TX and RX pins and forget about SERIN or SEROUT stuff. Use HSERIN and HSEROUT instead. They will use the TX and RX pin of your PIC. But you'll need a RS232 inverter chip like the MAX232.
BUT if you still want to use SERIN SEROUT
rc6/tx => PORTC.6
rc7/rx => PORTC.7
SERIN PORTC.7 ......
SEROUT PORTC.6 .......
be sure to set mode to Inverted
Last edited by mister_e; - 16th February 2005 at 05:35.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks