     }
     
     // Actual temperature in celsius
-    actualTemperature = (double) ds18b20.getTemperature();
+    actualTemperature = ds18b20.getTemperature();
     
     // Calculate PID output
     myPID.Compute();

    
    // SparkCloud: variables
    Spark.variable("temperature", &tempInfo, STRING);
    Spark.variable("pwm", &pwmInfo, STRING);
    
    // SparkCloud: functions

        // Convert values for output
        // convert pidOutput to 0-100
        sprintf(tempInfo, "%2.2f", actualTemperature);
        sprintf(pointInfo, "%2.2f", pointTemperature);
        sprintf(pwmInfo, " %2.2f", (pidOutput / 255) * 100);
        
        // Log to the serial
