- Joined May 10, 2018
I have an active device that has photogates. As the IR diode emits across a small gap, the detector base is driven. This component is active low. When this gap between IR emitter from IR detector is blocked with a plastic tab, a motor runs. I would like to control the state of each with mcu's GPIO ports. What is the best way to do this?