This question is an exact duplicate of:
Apologies if the question is worded oddly/weirdly, but specifically I have a comparator with an unstable output which I know could be fixed with hysteresis, but I would rather just have some circuit output high indefinitely once the correct conditions are met and the comparator outputs high once. I know I could use a microcontroller and program it to keep track using memory, but I was just wondering if there was something simpler I could use. I'm still an electonics newbie, so any help/pointers/or even just the name of such a circuit would be much appreciated!
If it helps, I could go more in depth on what my circuit is/draw up a schematic, but I didn't want to drag this on for too long. Much thanks for reading this!