Use arduinomorse instead of Jled #38

Merged
W1CDN merged 9 commits from arduinomorse into program-cycle 2023-09-15 16:35:54 -05:00
Showing only changes of commit 6c1a718a98 - Show all commits

View File

@ -532,12 +532,16 @@ void loop() {
}
// Once alarm has started the program, set things up to run
if (startProgram == true){
if(startProgram == true){
//Serial.println("Start sending");
start_millis = millis() + ((yourInputCycleID - 1) * yourInputStepLength);
stop_millis = start_millis + yourInputStepLength;
if(yourInputCycleID == 1){
pause_until_millis = stop_millis + (yourInputStepLength * (yourInputNtransmitters - 1));
} else {
// Subtract 2 rather than 1 here to account for start_millis duration at beginning of repeat.
pause_until_millis = stop_millis + (yourInputStepLength * (yourInputNtransmitters - 2));
pause_until_millis = stop_millis + (yourInputStepLength * (yourInputNtransmitters - 2));
}
//sender.startSending();
programRunning = true;
startProgram = false;