Communication xbee pic

,

Hi, today I was enable to send a character beetween two xbee connected at two different pc, so I try to send the character from the pc to a pic 18f2520 but doesn’t work! The pic receive a data but not the character that i send…I don’t know what the pic receive because I have just 2 leds for debugging…what can I do? Thanks!

Check if the serial settings viz. baud rate, data bits, parity and stop bits are all matching for module and PIC.

Usually, bad data is result of baud rate mismatch.