 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 long lastSecond; //The millis counter to see when a second rolls by
 
+const int XBee_wake = 9;
+
 void setup()
 {
-	Serial1.begin(57600);
-	Serial1.println("Weather Shield Example");
+	Serial.begin(57600);
+	Serial.println("Weather Shield Example");
 
 	pinMode(STAT_BLUE, OUTPUT); //Status LED Blue
 	pinMode(STAT_GREEN, OUTPUT); //Status LED Green


		if (humidity == 998) //Humidty sensor failed to respond
		{
			Serial1.println("I2C communication to sensors is not working. Check solder connections.");

			//Try re-initializing the I2C comm and the sensors
			myPressure.begin(); 

			myPressure.enableEventFlags();
			myHumidity.begin();
		} else {

// wake up the XBee
pinMode(XBee_wake, OUTPUT);
digitalWrite(XBee_wake, LOW);
      
			//Check Pressure Sensor
			float pressure = myPressure.readPressure();

			Serial.print("$XWBP:");
			Serial.print(counter);
			Serial.print(":Pres:");
			Serial.print(pressure);
			Serial.println("Pa*");

			//Check Temperature Sensor
			float tempf = myPressure.readTempF();
			Serial.print("$XWBT:");
			Serial.print(counter);
			Serial.print(":TempF:");
			Serial.print(tempf, 2);
			Serial.println("F*");

			//Check Humidity Sensor
			Serial.print("$XWBH:");
			Serial.print(counter);
			Serial.print(":Humid:");
			Serial.print(humidity);
			Serial.println("P*");

			Serial.println("");

// put the XBee to sleep
pinMode(XBee_wake, INPUT); // put pin in a high impedence state
digitalWrite(XBee_wake, HIGH);

			counter++;
			if (counter == 100)
