added thermistor prototype code