These sensors are made to use on digital pins and receive similar readings to analog ones
My goal is to use these as ON/OFF switch. Is it possible to program them to return HIGH when there is reflectance and LOW when the surface is dark.
So without all this calculating time to discharge the capacitors.
I have used the analog versions of these sensors in the project so far but I would like to eliminate dealing with thresholds.