I have a hall effect sensor which outputs 0V when on the North pole of a magnet, 5V when on the South pole. It idles at 2.5V.
I want to connect 2 LEDs to show the reading, one activated from 0-2.5V, the other from 2.5V to 5V.
I could use the ADC on a microcontroller to read the sensor then drive the LEDs with two PWM channels. But, this seems like overkill to me.
Can anyone suggest a better way? Without using a microcontroller?