Place a small capacitor (6v+) if all you have is a bigger cap, try lowering the resistor.. or in place a delay after the first read of the button press, then delay(250); or so, but i'd throw on a capacitor for ease.
Place a small capacitor (6v+) if all you have is a bigger cap, try lowering the resistor.. or in place a delay after the first read of the button press, then delay(250); or so, but i'd throw on a capacitor for ease.