|
|
|
@ -3848,9 +3848,11 @@ void transmit_cw(int freq, float duration) { // freq in Hz, duration in millise
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
Serial.println("No sr_frs present!");
|
|
|
|
Serial.println("No sr_frs present!");
|
|
|
|
unsigned long start = micros();
|
|
|
|
unsigned long start = micros();
|
|
|
|
|
|
|
|
clockgen.enableOutputs(true);
|
|
|
|
digitalWrite(BPSK_CONTROL_A, HIGH);
|
|
|
|
digitalWrite(BPSK_CONTROL_A, HIGH);
|
|
|
|
while((micros() - start) < duration_us) { }
|
|
|
|
while((micros() - start) < duration_us) { }
|
|
|
|
digitalWrite(BPSK_CONTROL_A, LOW);
|
|
|
|
digitalWrite(BPSK_CONTROL_A, LOW);
|
|
|
|
|
|
|
|
clockgen.enableOutputs(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// if (!wifi)
|
|
|
|
// if (!wifi)
|
|
|
|
|