Driving multiple LEDs from microcontroller pin
This should work. When the MCU output is high then Q2 turns on, shunting the current from R2 away from the base of Q1 and turning it off.



simulate this circuit &ndash; Schematic created using CircuitLab