From a38731763d5cb910ac96bebaa96a63686973dd22 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 4 Sep 2022 15:14:42 -0400 Subject: [PATCH] removed BPSK overlap --- cubesatsim/cubesatsim.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 560e26ac..0e4540e4 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3433,13 +3433,13 @@ bool TimerHandler0(struct repeating_timer *t) { // Serial.println(micros() - micro_timer2); micro_timer2 = micros(); if (buffer[wav_position++] > 0) { - digitalWrite(BPSK_CONTROL_A, HIGH); + digitalWrite(BPSK_CONTROL_A, LOW); // delayMicroseconds(2); - digitalWrite(BPSK_CONTROL_B, LOW); + digitalWrite(BPSK_CONTROL_B, HIGH); } else { - digitalWrite(BPSK_CONTROL_B, HIGH); + digitalWrite(BPSK_CONTROL_B, LOW); // delayMicroseconds(2); - digitalWrite(BPSK_CONTROL_A, LOW); + digitalWrite(BPSK_CONTROL_A, HIGH); } /* tx_bit = (buffer[wav_position] > 0) ? HIGH: LOW;