pico-v0.1
alanbjohnston 3 years ago committed by GitHub
parent a1f4c9d71d
commit 994e1668a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3362,11 +3362,11 @@ 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)/1000.0);
}
sleep((float)(morse_timing * 3.0)/1000.0);
Serial.println(" ");
// Serial.println(" ");
}

Loading…
Cancel
Save

Powered by TurnKey Linux.