I have defined time of one minute for motor to run but i have installed a button in my display screen to pause or abort the motor running function. Now i want to pause the motor before the defined time. How shall i do it? Any help please??
No code posted so difficult to help (HINT)
At a guess you have used delay() for the one minute period.
There are other methods that would allow you to stop the period early