Answer the question
In order to leave comments, you need to log in
Automation (timer on Arduino)?
help with a stepper motor skate
Its task is to turn on every day at 7 am and 9 pm, (one day on Sunday, whatever it turns on!), make 5 full revolutions in one minute at 7 am, turn off, and do the same most at 9 pm
I have been suffering with him for a month
Answer the question
In order to leave comments, you need to log in
So why are you expecting a delay?
Timer1.initialize(7000000); // 7 Seconds
Timer1.attachInterrupt( timerIsr ); // attach the service routine here
this means that after 7 seconds the timerIsr function will be called - which you have empty.
setup works first - and turns the motor in one direction. Then loop starts - and twists into another. all. what they programmed is what they got.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question