I built the following circuit using an LM393 as part of a noise gate for audio applications. It's a voltage comparator with hysteresis.
I originally connected a 10 kΩ pull-up resistor and then added a 5 mm UV LED to serve as a visual reference. The circuit worked fine like this, however, if I remove the LED and connect the 10 kΩ pull-up resistor directly to the supply, the output doesn't swing low and gets stuck on its high state.
I've tried adding 1N4148 diodes in anti-parallel to the pull-up resistor, in reverse from the output node to ground, and I also tried substituting the LED with a 1N4148, but neither worked.
Here's a picture of my protoboard with the UV LED:
Here are two oscilloscope captures of the input and output signals: