I have the Arduino Code in the attachment. It turns on the servo if the button is pushed off. But I don’t need a direct turn after the push button is changed, but I want it to turn 5 seconds after changing the push button. What I’ve to change in my code? Thanks in advance!!
(see attachment for code)
Altduino.ino (413 Bytes)