  *******************************************************************************/
 void setup() {
 
-  //pulish startup message with firmware version
+  //publish startup message with firmware version
   Particle.publish(APP_NAME, VERSION, 60, PRIVATE);
 
   //declare and init pins

float targetTemp = 19.0;
float currentTemp = 20.0;
float currentHumidity = 0.0;
float margin = 0.5;
//temperature related variables - to be exposed in the cloud
String targetTempString = String(targetTemp); //String to store the target temp so it can be exposed and set
String currentTempString = String(currentTemp); //String to store the sensor's temp so it can be exposed

    return 0;
  }

  //sample acquired, adjust DHT difference if any
  float tmpTemperature = (float)DHT.getCelsius();
  tmpTemperature = tmpTemperature + temperatureDifference;

  //sample acquired - go ahead and store temperature and humidity in internal variables
  publishTemperature( tmpTemperature, (float)DHT.getHumidity() );

  //reset the sample flag so we can take another
  bDHTstarted = false;
