Optimize checking temperature against safe limits.
Precompute the ADC values which correspond to the min/max temperatures,
and in the heater ISR, compare the ADC reading against those values,
avoiding a lookup in the thermistor lookup table.