Author Options:

Using delay program Answered

I want to add a delay program to a motor . I am using 2 push button for different delay. I want motor to run forward direction for 3 secs and reverse direction for 3 seconds when 1 push button is pressed once and again if push button 2 is pressed once i want the same motor to run 5 seconds forward direction and 5 seconds reverse direction . Is this possible using arduino ?

I m using 12v 10 amps dc motor


The forums are retiring in 2021 and are now closed for new topics and comments.