added temperature logging to simple thermistor example