Hello! first time Arduino user here, does anyone know how to create a timer (preferably for an hour minimum) that when that timer does off activates a servo motor, asking for a friend.
Ask your friend what programming and electronic experience s/he has.
Yes.
1 Like
I know how, too
How?
I would read about delay() and millis() or See what an RTC can do for me. It all depends on the use case
Get your friend into this conversation.
//******************************
//If we are timing, has the one hour TIMER expired ?
if (timingFlag == enabled && millis() - servoMillis >= 1 * 60 * 60 * 1000ul)
{
timingFlag = disabled;
//do what you need to do
}
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.