Added pulldown/pullup selection to thermistor lib