Water level monitoring system using Xbee

wvmarle:
You are probably printing ASCII codes of the received characters.

That snippet misses the Serial.println() parts. Don't know what you're trying to do. Also fix your indentation (CTRL-T In the IDE can do that automagically for you).

I've done the CTRL T hahaha. But how can i see the combined ascii characters so i can know the real value i am getting? I think that the Serial.println(XBee.read()) is not the right code to show the value i am getting because it prints the ascii value. Thanks again sir!