   glcd.drawline(topy, topx, lefty, leftx, BLACK);
   glcd.drawline(topy, topx, righty, rightx, BLACK);
   //glcd.drawline(altitude,32,29,35, BLACK);
+  
+  char outstr[15];
+  dtostrf(distance,7, 3, outstr);
+  glcd.drawstring(altitude, 5, outstr);
+  
   glcd.display();
 }
 

// The setup() method runs once, when the sketch starts
void setup()   {                
  Serial.begin(9600);
  // Serial.println(freeRam());
  XBee.begin(9600);
  
  // turn on backlight



int count = 0;

boolean stringComplete = false;  // whether the string is complete

// XBee's DOUT (TX) is connected to pin 2 (Arduino's Software RX)
