i want to feed the output of a temperature comparator circuit to a digital circuit. the temperature sensing consists of lm35 as the sensor, op amp for comparing blw a ref voltage and input voltage. will lm311 as op amp be better than the conventional op amp and how should I modify circuit to avoid switching front and back near the difference point because it will appear almost as analog signal to the digital circuit. Circuit diagrams needed please.