|
|
|
|
@ -3362,10 +3362,10 @@ void transmit_string(char *string) {
|
|
|
|
|
void transmit_char(char character) {
|
|
|
|
|
int i = 0;
|
|
|
|
|
while ((morse_table[(toupper(character) - '0') % 44][i] != 0) && (i < 5)) {
|
|
|
|
|
// Serial.print(morse_table[(toupper(character) - '0') % 44][i]);
|
|
|
|
|
Serial.print(morse_table[(toupper(character) - '0') % 44][i]);
|
|
|
|
|
transmit_mili(morse_freq, morse_table[(toupper(character) - '0') % 44][i++] * morse_timing);
|
|
|
|
|
}
|
|
|
|
|
sleep((float)(morse_timing * 3.0)/1000.0);
|
|
|
|
|
// Serial.println(" ");
|
|
|
|
|
Serial.println(" ");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|