ahgu
Full Member level 3

I have a signal and ground line that need to drive 2 LEDs.
One is green LED is on all the time when driven.
One is RED LED that blinks at 1Hz when driven.
Both are never on at the same time.
The signal coming can be either 12v DC(turn on the Green LED) , or 12 Square wave at 1Hz(blink the red LED), 0V will turn all LED off.
How can I design a circuit with Q, D, R,C? that let me do this?
I can also throw in a voltage reg if needed.
How long can voltage reg hold its voltage when input is switched off
thanks
ahgu
One is green LED is on all the time when driven.
One is RED LED that blinks at 1Hz when driven.
Both are never on at the same time.
The signal coming can be either 12v DC(turn on the Green LED) , or 12 Square wave at 1Hz(blink the red LED), 0V will turn all LED off.
How can I design a circuit with Q, D, R,C? that let me do this?
I can also throw in a voltage reg if needed.
How long can voltage reg hold its voltage when input is switched off
thanks
ahgu