Hey, guys
Can you help me finding the problem of my project?
What happens is this, I created a code for the arduino in order to function every 8 hours with two LED power indicators (one ON and another OFF) and a servo without the control board. When I put the program on the arduino, everything works except the engine.
Someone can help me??
The code I created is as follows (the code is part of another program I found on the internet, is the part of the last delay):
int ledonPin;
int ledoffPin;
int motorPin;
void setup (){
ledonPin = 13;
ledoffPin = 12;
motorPin = 11;
}
void loop (){
digitalWrite(ledonPin, HIGH);
digitalWrite(ledoffPin, LOW);
digitalWrite(motorPin, HIGH);
delay(1700);
digitalWrite(ledonPin, LOW);
digitalWrite(ledoffPin, HIGH);
digitalWrite(motorPin, LOW);
delay(28800000L);
}