 
   if (calculatedChecksum == receivedChecksum) {
     Serial.println("Checksum OK");
+    Spark.publish("Checksum", "OK");
   } else {
     Serial.println("Checksum not OK!");
+    Spark.publish("Checksum", "Not OK");
   }
 }

  Serial.println(temperature);

  verifyChecksum(humidityRaw, temperatureRaw, checksum);
}

bool waitFor(int pin, int value, unsigned int timeout) {

#define TEMP_SENSOR_PIN D6

void setup() {
  Serial.println("Starting up");
  Spark.publish("Starting up");
}

void loop() {
