I am learning about how to use Operational Amplifiers as comparators. I understand that comparators are used to compare an input signal to a reference voltage. However, I am having a hard time visualizing this.
Say that I wanted a comparator with a reference voltage of 0 V (therefore, the output will be either positive or negative depending on whether the input signal is positive or negative, respectively). How could I draw a circuit like this?
I hope my question is clear.