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

Loading…
Cancel
Save

Powered by TurnKey Linux.