Create a reference
The resistor divider makes 2.0 V nominal from 5 V.
Build a basic LM339 circuit with labeled pins, component values and connection guidance.
A 2 V reference, a pull-up and all unused inputs defined.
Follow the component values and pin connections
The resistor divider makes 2.0 V nominal from 5 V.
Read the output with a high-impedance logic input or meter.
Bias unused channels away from equality and leave their outputs open.