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 2127d4a75a - Show all commits

View File

@ -260,12 +260,13 @@ float wpm = 10;
float ms_per_dit = 1000 * (60 / (50 * wpm));
int word_space_ms = ms_per_dit * 7;
// Hardcoding messages and WPM for now, will come back and make it more flexible.
MorseEffect morseEffectTEST("TEST TEST TEST DE W1CDN", ms_per_dit);
MorseEffect morseEffectMOE("MOE", ms_per_dit);
MorseEffect morseEffectMOI("MOI", ms_per_dit);
MorseEffect morseEffectMOS("MOS", ms_per_dit);
MorseEffect morseEffectMOH("MOH", ms_per_dit);
MorseEffect morseEffectMO5("MO5", ms_per_dit);
// Extra space at the end to get around https://github.com/jandelgado/jled/issues/122 on cycle mode
MorseEffect morseEffectTEST("TEST TEST TEST DE W1CDN ", ms_per_dit);
MorseEffect morseEffectMOE("MOE ", ms_per_dit);
MorseEffect morseEffectMOI("MOI ", ms_per_dit);
MorseEffect morseEffectMOS("MOS ", ms_per_dit);
MorseEffect morseEffectMOH("MOH ", ms_per_dit);
MorseEffect morseEffectMO5("MO5 ", ms_per_dit);
// CW for keyer
auto morseTEST =