The circuit that controls the motor is totally separate from the circuit that controls the ledsBut if the lever generates a pulse, a latch circuit will be needed to remember the lever position (or turnout position) and keep the led lit.
or am I overlooking something?
The switch that operates these just piggybacks on to the motor and gets operated by the motor
On the left is the on on switch to control leds
On the right is the motor that moves the turnout and the position of the switch

