Yes, although I would double on the resistors and add a pull down/up resistor to the gate/base to be sure the leds stay off while the uC is off.
Yes, although I would double on the resistors and add a pull down/up resistor to the gate/base to be sure the leds stay off while the uC is off.