Push Button Switch no working
Hello! I have a project to detect a button press with BS2. But the button I need to use is more like a switch. When someone push the button, lights up and remains 'close' until you push again. So basically a switch with a LED (see picture). My BS2 code has a loop to check the state of the pin, LOW or HIGH. I have the typical pull down resistor circuit for button press according to BS2 manual.
My problem is the circuit is working but the LED started flashing until died. I'm using 5V 1.5A power supply. I noticed 3V worked well but I cant power up the BS2 with 3Volts. Any suggestions?