wired in this circuit:
Running the AnalogInOutSerial example using a Mega. Here is what happens.
Case 1: emitter on detector on aimed directly at each other a few inches away while in sunlight (150ish) Case 2: same as case 1 except I unplug the emitter (1023) Case 3: same as case 1 except no ambient light, meaning I put a box over it (1023)
It seems as if I have some kind of magic detectors that have two be ANDed with the ambient light and emitter light to be turned on. That is, if the ambient light goes away, OR the emitter light goes away, the detector transistor is OFF.
I'm new to this but I hope I explained it where everyone can understand. My mind is officially blown. I tried this with 4 different pairs. Same results.