Added Temperature sensor constants and getTemperature() method.