I would like some changes in the momentary buttons of my program. I have 3 momentary switches which connect pin 2, pin 3 and pin 4 of Arduino to the GND (INPUT_PULLUP pins). With the number 2 button-switch as it is now the red back light of a motorcycle lights up as I press the button. I want toggle function for this switch. I want to press once and the the red back light to be light on, press again to be light off. The number 3 button-switch is ok, when I press the button only (when I brake the vehicle), then a stronger light lights up. When release, stops lighting. So here you let it as it is. Lastly, number 4 switch (connected to pin 4), when I keep the button pressed, the flashers light on and off but when I release stop lighting. I want here toggle function as well, meaning: I press once the button the flashers light on and off every second, when again I press once the button, flashers stop completely.
I would like to be bouncing free program-circuit (debounce function)
I don't want to use relays or just toggle switches. Only the 3 button-switches as they are.
Price 15 euros.
PLEASE, I don't have time for testing all the time. You must have the WS2812B LED Strip !!!
For an experienced user, it is a matter of minutes job.
13 pekerja bebas membida secara purata €22 untuk pekerjaan ini
Hi there, I am an Electrical and Electronics Engineer. I got my master's degree from the same department. I have experience with Arduino and Led circuits. I can programming this circuit. Thank you for read