I'm having an issue here.
In the attached schematic, I only want LED2 to light when the switch S1 is pressed.
As the circuit is currently drawn, LED1 is always lit since it's wiring is backfed and I obviously have a ground issue...
It's been 6 years since school and I haven't touched electronics since; I've obviously forgotten something.
Any help?
ETA: For simplicity, I've left out the pull-down resistors on the inputs of the AND gate.
In the attached schematic, I only want LED2 to light when the switch S1 is pressed.
As the circuit is currently drawn, LED1 is always lit since it's wiring is backfed and I obviously have a ground issue...
It's been 6 years since school and I haven't touched electronics since; I've obviously forgotten something.
Any help?

ETA: For simplicity, I've left out the pull-down resistors on the inputs of the AND gate.
Last edited: