I got a upcomming project
I have a IR transistor that I will use as a switch. I would rather not use a schmidttrigger but instead use a analog pin.(or digital)
Right now im using the IR transistor an reading on an analog pin. I would like this to act as a switch that turns low when my adc is < 100 and turn high when my adc is >150.
For this timing is essential, so I cannot use the adc. (I need the change to be maped as accurate as possible).
Any sugestions? Would I be better off using a schmidttrigger and a digital pin that triggers an interrupt on change?