Trigger led with both Arduino and tactile button
What you have drawn is a bad idea. If the Arduino output is low when the button is pressed, the 5V bus will be shorted. That's really bad. Instead, do something like this.







simulate this circuit &ndash; Schematic created using CircuitLab