mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-07-18 03:24:16 -04:00
Add a brief pause before continuing to play the actual characters
This commit is contained in:
parent
0c575d222f
commit
68b85e6fa0
@ -109,6 +109,8 @@ void morseText(char *text, uint16_t dit_duration_ms){
|
|||||||
int16_t total_counts = 0;
|
int16_t total_counts = 0;
|
||||||
tone(CW_TONE, globalSettings.cwSideToneFreq-100);
|
tone(CW_TONE, globalSettings.cwSideToneFreq-100);
|
||||||
delay(100);
|
delay(100);
|
||||||
|
noTone(CW_TONE);
|
||||||
|
delay(100);
|
||||||
enc_read();//Don't count initial tone against total_counts
|
enc_read();//Don't count initial tone against total_counts
|
||||||
while(*text && (abs(total_counts) < 10)){
|
while(*text && (abs(total_counts) < 10)){
|
||||||
morseLetter(*text++, dit_duration_ms);
|
morseLetter(*text++, dit_duration_ms);
|
||||||
|
Loading…
Reference in New Issue
Block a user