enableOutputOnly for 0

pico-sr
alanbjohnston 3 years ago committed by GitHub
parent 953e2cbbb4
commit d02e8655cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by TurnKey Linux.