Sinde you say that UART1 is working fine with your config settings, then UART2 should also be working fine with the same config settings.
Change your lines to
DEFINE OSC 16
DEFINE...
Type: Posts; User: sayzer; Keyword(s):
Sinde you say that UART1 is working fine with your config settings, then UART2 should also be working fine with the same config settings.
Change your lines to
DEFINE OSC 16
DEFINE...
TRISB.7 = 1
TRISC.7 = 1
RX1 and RX2 Pins = input pins.