private int getTemperature(double time) {
        int tempValue;
        final String temperatureTitle = "Temperature Value: ";

        /*      Run The Temperature
         **********************************/
        TemperatureInternal temp = new TemperatureInternal();
        temp.setup();
        temp.initialise();
        tempValue = temp.readValue();

        String strTime = new DecimalFormat("0.00").format(time);

        // write a temperature value
        System.out.println(temperatureTitle + tempValue + "\t\t" + "Time: " + strTime);

        return tempValue;
    }