[Morse] Removed Serial output
This commit is contained in:
parent
f9f8ad526a
commit
1d46b3e2ab
1 changed files with 0 additions and 4 deletions
|
@ -115,13 +115,10 @@ size_t MorseClient::write(uint8_t b) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Serial.print((char)b);
|
|
||||||
Serial.print('\t');
|
|
||||||
// check if the requested code was found in the array
|
// check if the requested code was found in the array
|
||||||
if(found) {
|
if(found) {
|
||||||
// iterate over Morse code representation and output appropriate tones
|
// iterate over Morse code representation and output appropriate tones
|
||||||
for(uint8_t i = 0; i < strlen(MorseTable[pos].m); i++) {
|
for(uint8_t i = 0; i < strlen(MorseTable[pos].m); i++) {
|
||||||
Serial.print(MorseTable[pos].m[i]);
|
|
||||||
switch(MorseTable[pos].m[i]) {
|
switch(MorseTable[pos].m[i]) {
|
||||||
case '.':
|
case '.':
|
||||||
_phy->transmitDirect(_base);
|
_phy->transmitDirect(_base);
|
||||||
|
@ -140,7 +137,6 @@ size_t MorseClient::write(uint8_t b) {
|
||||||
_phy->standby();
|
_phy->standby();
|
||||||
delay(_dotLength);
|
delay(_dotLength);
|
||||||
}
|
}
|
||||||
Serial.println();
|
|
||||||
|
|
||||||
// letter space
|
// letter space
|
||||||
delay(_dotLength * 3);
|
delay(_dotLength * 3);
|
||||||
|
|
Loading…
Add table
Reference in a new issue