How can I have one LED go on, when another goes off
Single-Pole-Double-Throw (SPDT) Switch, of the On-On Variant. You can also get On-Off-On which keep both LEDs off in the middle position. 







simulate this circuit &ndash; Schematic created using CircuitLab