A voltage comparator is a circuit which compares the voltages at its input terminals and switches the output to either high or low depending upon which