Set up scheduled program cycles #24
|
@ -260,6 +260,7 @@ float wpm = 10;
|
||||||
float ms_per_dit = 1000 * (60 / (50 * wpm));
|
float ms_per_dit = 1000 * (60 / (50 * wpm));
|
||||||
int word_space_ms = ms_per_dit * 7;
|
int word_space_ms = ms_per_dit * 7;
|
||||||
// Hardcoding messages and WPM for now, will come back and make it more flexible.
|
// Hardcoding messages and WPM for now, will come back and make it more flexible.
|
||||||
|
// 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 morseEffectTEST("TEST TEST TEST DE W1CDN ", ms_per_dit);
|
||||||
MorseEffect morseEffectMOE("MOE ", ms_per_dit);
|
MorseEffect morseEffectMOE("MOE ", ms_per_dit);
|
||||||
MorseEffect morseEffectMOI("MOI ", ms_per_dit);
|
MorseEffect morseEffectMOI("MOI ", ms_per_dit);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user