I would like to use two op amps to drive a transistor when receiving two different voltage ranges from the same input signal for a project. For example, I would like to switch the transistor on when the input signal is below 2V or above 4V.
I wonder what is the best approach to solve this.
I am new to this, so please be patient.