I have an extremely simple comparator circuit:
The voltage at pin 7 goes into positive saturation when a positive input voltage is presented at pin 5.
I'm simulating this using SPICE in KiCad. Here's the output:
As expected when +5V is presented at pin 5, pin 7 goes high. But why, oh why, is the current through R3 (shown with the red I(R3)
line) listed as negative, and similarly positive when the input is -5V?
I feel like I might have misunderstood some fundamental concept of opamps.