Look at the datasheet for an LM393 dual comparator. Its inputs are exactly the same as an LM358 dual opamp but its outputs have only a single NPN output transistor that can go low but there is nothing to make the output go high.
The datasheet shows an external resistor connected from the output to the positive supply to make the output go high. The minimum output current is only 4mA (for it to saturate fairly well) so calculate a suitable resistor value.
The datasheet shows an external resistor connected from the output to the positive supply to make the output go high. The minimum output current is only 4mA (for it to saturate fairly well) so calculate a suitable resistor value.