Hi,
I'm planning to have a bright LED that runs from battery, I also want a Adafruit Feather M0 WiFi to power from the same battery (unless USB is plugged in) and use the Feather charge circuit to to charge said battery, so I'm pretty sere I need to disconnect the LED when charging, what would be the circuit to do this, a relay, is there anything available off the shelf?
Thanks for looking.
Cheers
Richard