Need code for coordinator

Hi all
How to write code for receiver(coordinator) end to receive temperature value from the router.
temperature sensor used is lm35.
Thank you

That is an analog sensor. It needs to be connected to an ADC input on the XBee End device. Your coordinator will need to be in API mode to receive the ADC data.