\\Window Comparator//
The window comparator is a circuit which checks if an input voltage is between two reference voltages, therefore making a voltage "window".
Top Voltage S.-->High Ref
Bottom Voltage S.-->Low Ref
Middle Voltage S.-->Input Voltage
The top comparator checks if the input voltage is lower than the highreference voltage as the high reference is on +.
The bottom comparator checks if the input voltage is higher than the lowreference voltage as the low reference is on -
The AND gate checks if both the comparators satisfied and lights up an LED.
Adjust the Vol. Sources to cheange the reference and input voltages.
The LED lights up if the pink line is between the green and blue lines.