Hello again, I would like to continue picking anyone's brain. Again my project includes an Arduino Uno, and a continuous rotation servo. I would like it to run for 30mins stop for 10mins then start up again. Below is the current code that I am using for my project. My question is how do I write in the function of starting and stopping completely hands free into my current code. Thanks for any advise..
#include <Servo.h>
Servo myservo;
void setup()
{
myservo.attach(9);
myservo.write(94); // set servo to mid-point
}
"what do you mean "for starting and stopping completely hands free"?
Your code includes no indication that a hand could influence it short of unplugging it or plugging it in..."
That is correct currently the device just runs until I turn it off. What I would like is to initially turn the device on let it run for 30mins then it will automatically shut of for 10min then start up again for 30mins. Does that make any sense? I just don't know enough yet about how to write code for arduino.