How to configure xbee via pic18f

Hi,

I want to configure my XBee via a pic18f4520.

Give it source and destination addresses. I want to do that un C language, but I don’t know how to write into his register.

The XBee is only connected to te PIC via gnd, VCC, DIN and DOUT.

Thank you,

Regards.

Use the PIC’s UART (see Microchip App Notes AN510 & AN774 for details) for serial communication to/from the XBee.

You will need Microchip’s IDE (MPLAB) and one of the C compilers (C18, XC8 or HiTech) to write the PIC code.

Then read and study the correct XBee document (AT commands) for how to setup the XBee.