I need a simple circuit that work with two LEDs to do the following:
- When a 12VDC power supply is on, LED1 must be on and the LED for the battery LED2 must be off.
- When the power supply is of LED1 is off and then LED2 of the battery must come on.
- When the 12V supply is returned, the battery LED must be off and the 12V supply LED is back on.
Bottom circuit was given by someone but I don't know how to incorporate it to the one above.