When the sensor is off (no reflection) the output will be connected to Vcc via the resistor.
When the sensor is on (reflection) the output will be shorted to ground.
Mike.
Edit, note the resistor is 47k so only a tiny current will flow when the sensor is on.
When the sensor is on (reflection) the output will be shorted to ground.
Mike.
Edit, note the resistor is 47k so only a tiny current will flow when the sensor is on.