I'm exploring comperators and got hold of some LM293P versions. Here is the datasheet for it so you don't have to search: https://www.ti.com/lit/ds/symlink/lm2903b.pdf
I get confused. Nowhere in the datasheet did I read if it's inverting or non-inverting. Is it's just how you use it, which input you choose to be the reference voltage?
And my second question is about comperator vs. op-amps. It seems that people use it interchangably which would suggest they do the same thing. Eg. in this article https://www.circuitstoday.com/voltage-comparator they state
Whenever Vin goes above 6V, the output swings to ~+12V DC and vice versa.
However, in the datasheet I see this diagram and it seems to me, out will never be +VCC , not without a pullup on out anyway.
So are comperators and op-amps the same? Am I missing something here?