2 thresholds for rising input and dropping input, for cleaner output. Exhibits hysteresis.