LED control when using different power source

Thanks Grumpy Mike. That diagram is very helpful.