Quote:
Originally Posted by whitetiger0990
Digital inputs become false when the circuit is closed.
|
That's correct for switches or "open-collector output" sensors that complete a connection to ground. But the IR sensor is not that kind of circuit. It provides a logic level output, with the digital input resting at zero and going to one when the signal is recognized.