HighschoolHigh school electronics student here, so sorry if this is a simple question.
I have a photoelectricphoto-electric sensor that I currently have hooked up to a microcontroller. When
When on, the digital input it always reads high. When on theconnected to an MCU analog input, the input changes when the sensor is triggered between 200 (low) and 2000 (high.) In. In other words, it is a digital sensor, but its output isntisn't exactly digital, - it is more of a 0'0.1 or 0.99' instead of 0 or 1.
Is there some type of IC that I would be able to use to convert it to a true digital signal?