Do you have ok the configuration for both Xbee?
if not, then you must read "Manual de Usuario, Olimex for Xbee Serie1" or "Manual of Xbee serie2" page 56
if yes, then you can use an example of arduino
file->Example->OneWire->DS18x20_Temperature
Do you have ok the configuration for both Xbee?
if not, then you must read "Manual de Usuario, Olimex for Xbee Serie1" or "Manual of Xbee serie2" page 56
if yes, then you can use an example of arduino
file->Example->OneWire->DS18x20_Temperature