Just wanted to thank you all for your patience and help. I managed to get it working with the 'millis' method
as suggested. After staring at it for an hour it finally clicked into place
My code for that particular section is below for anyone who is interested (majority omitted).
Thanks Again!
(Setup declarations)
unsigned long currentMillisA = millis(); //Storage for Timer
unsigned long currentMillisB = millis(); //Storage for Timer
long previousMillisA = 0; // Millis Counter Store
long previousMillisB = 0; // Millis Counter Store
long StepperAinterval = 60000; // 60 seconds break time
long StepperBinterval = 120000; // 120 seconds break time
(inside void loop())
case 7: // Commence Time
////////////
if (MinutePulse >= 2500) mode = 10; //servo safety to stop it over-turning
if (HourPulse >= 2500) mode = 10;
////////////
if(CurrentMillisA - previousMillisA > StepperAinterval) {
MinutePulse = MinutePulse + 4;
previousMillisA = CurrentMillisA;
MinuteHand.writeMicroseconds(MinutePulse);
Serial.print("MINUTE PWM VALUE IS SET TO ");
Serial.println(MinutePulse);
}
if(CurrentMillisB - previousMillisB > StepperBinterval) {
HourPulse = HourPulse + 3;
previousMillisB = CurrentMillisB;
Serial.print("HOUR PWM VALUE IS SET TO ");
Serial.println(HourPulse);
HourHand.writeMicroseconds(HourPulse);
}
break;