it has 4 inputs technically (excluding ground, and any additional features) which are Signal +, Signal -, Vcc+ and Vcc-. the signal +- are the signals being compared. the output is always either Vcc+ or Vcc-, which are the power connections.
when Signal + is larger than Signal -, the output is Vcc+, when the Signal - is larger than Signal +, the output is Vcc-, (either of these may be zero or finite, however you set it up).
it basically compares two signals and outputs a different signal to represent which input is larger.
an op amp can be wired as a low performance comparator. this is a simple configuration which requires no feedback (look up op amps for a better description).
when Signal + is larger than Signal -, the output is Vcc+, when the Signal - is larger than Signal +, the output is Vcc-, (either of these may be zero or finite, however you set it up).
it basically compares two signals and outputs a different signal to represent which input is larger.
an op amp can be wired as a low performance comparator. this is a simple configuration which requires no feedback (look up op amps for a better description).
-
The output of a comparator is either on or off, depending on the inputs. If the + input is greater the the - input, the output is high, and v.v.