back to overlap on BPSK

pico-v0.23 v0.23
alanbjohnston 3 years ago committed by GitHub
parent 683c0296af
commit 4b5d51d0ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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, LOW);
delayMicroseconds(2);
digitalWrite(BPSK_CONTROL_B, HIGH);
} else {
digitalWrite(BPSK_CONTROL_B, LOW);
delayMicroseconds(2);
digitalWrite(BPSK_CONTROL_A, HIGH);
// delayMicroseconds(2);
digitalWrite(BPSK_CONTROL_B, LOW);
} else {
digitalWrite(BPSK_CONTROL_B, HIGH);
// delayMicroseconds(2);
digitalWrite(BPSK_CONTROL_A, LOW);
}
/*
tx_bit = (buffer[wav_position] > 0) ? HIGH: LOW;

Loading…
Cancel
Save

Powered by TurnKey Linux.