In case you can't tell, it has 23 volts on the power rail and VEE is connected to ground. I don't have any feedback on the output. I have a simple voltage divider on the inverting input. The resistors are chosen so that when the input voltage, Vin, is above the threshold set by the divider (about 1 volt), the output should swing up to VCC, 23 volts. However, in practice, it doesn't seem to be doing anything when I switch Vin between 0 and 5. The output remains low. I haven't used op-amps much at all, so I figure I'm doing something wrong. I know of Schmitt Triggers, however those at first seemed more complicated than what I wanted, and I also didn't want the signal to invert. I digress...is this totally wrong, or should I suspect the problem elsewhere?
Here is the op amp: https://www.mouser.com/datasheet/2/348/lm358f-e-1873592.pdf