Update cubesatsim.ino

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

@ -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(" ");
}

Loading…
Cancel
Save

Powered by TurnKey Linux.