Added thermistor to code