Set up scheduled program cycles #24

Merged
W1CDN merged 41 commits from program-cycle into main 2023-09-15 16:51:45 -05:00
Showing only changes of commit c8f9d823da - Show all commits

View File

@ -696,13 +696,18 @@ void loop() {
}
// if you want to send continuous code, and it's not sending, then start it up
if((yourInputSend == 1) & (morseToSend.IsRunning() == false)){
if((yourInputSend == 1)){;// & (morseToSend.IsRunning() == false)){
//jled
// morseToSend.Reset().Update();
// morseToSend_blink.Reset().Update();
if (!sender.continueSending()){
// Set the internal counters to the message's beginning.
// Here, this results in repeating the message indefinitely.
sender.startSending();
}
// if you want to send continuous code, and it is sending, keep sending
} else if((yourInputSend == 1) & (morseToSend.IsRunning() == true)){
// } else if((yourInputSend == 1) & (morseToSend.IsRunning() == true)){
//morseToSend.Update();
//morseToSend_blink.Update();
@ -742,7 +747,7 @@ void loop() {
// morseToSend.Stop(JLed::eStopMode::FULL_OFF).Update();
// morseToSend_blink.Stop(JLed::eStopMode::FULL_OFF).Update();
//morses_sequence_blink.Stop();
sender.setMessage(String(""));
sender.setMessage(String("")); // Not sure this is the right way to stop things.
}
//morseToSend.Update();
//sender.continueSending();