I've setup a simple circuit with an LM358 configured as a comparator (the ground rail and supply connections are off screen).
V+ = 4.97V (expected)
GND = 0V (expected)
In(-) = 2.47V (expected, via voltage divider)
In(+) = 4.97V (expected)
Output = 3.63V (???)
Since 4.97V is greater than 2.47V I was expecting the output to be 4.97V. Why is it 3.63V? Is this normal for this particular op-amp or am I doing something wrong?
I've tried looking through the datasheet but I'm new to this stuff so I'm not sure what to look for.