Xbee to Arduino Project Help

Hey Everyone,

I am currently working on a school project that requires transmitting a voltage from an analog circuit to an Arduino microcontroller using two Xbees, and display the voltage on a 4 digit 7-segmeng LED display. I have ran into some problems trying to obtain the voltage value from the receiving Xbee to the Arduino. I realize that the A to D conversion has been done already in the transmitter Xbee and the receiving signal should be in digital representation, however I have no idea how to read the data and distinguish between the actual signal value and the rest of the bits.

I downloaded sample code from this website: GitHub - andrewrapp/xbee-arduino: Arduino library for communicating with XBee radios in API mode It is an open library site for Xbee and Arduino communication. However, I have difficulty understanding some of the functions declared in the code, for example getResponse, or readPacket. How can I read the received packets?

If there are any websites that can help me with this project, then please post links to them.

Thanks a lot!