Will this 'switching' circuit work for cabinet lights? Any comments?
Im using an NPN and a PNP transistor to do the switching. When mains (S1) is on, the NPN is on and current flows from the transformer, when S1 is off, NPN is off and PNP is on and current flows from the batteries.
What I am worried about is that (I think) the transistors need a Gnd on the emitter. Is that right? If I connect the +ve of LEDs to [OUT] and -ve to GND will it work as expected? Can someone try please?