I just made an addressable RGB LED strip controller but im concerned about if I'm going to break the thing.
I know it sounds vague so let me elaborate: there is an external power supply connected to my 5V pin and the LED strips positive so it powers both the strip and Arduino, but I also have my Arduino connected to my PC at all times. So I'm concerned about IF my power supply is for some reason not connected the Arduino will supply power on its own.
Is there a way to prevent 5V pin from outputting 5V, so it only accepts 5V
EDIT: There are cases when the USB isn't connected so I need the 5V to be connected at all times, if its still vague then is there a way to only use data on USB and disregard the power?