try 1 us delay,

pull/172/head
alanbjohnston 3 years ago committed by GitHub
parent 4355cea0fe
commit 97d1a26eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2729,10 +2729,12 @@ bool TimerHandler0(struct repeating_timer *t) {
if (buffer[wav_position++] > 0) {
digitalWrite(BPSK_CONTROL_A, HIGH);
delayMicroseconds(1);
digitalWrite(BPSK_CONTROL_B, LOW);
} else {
digitalWrite(BPSK_CONTROL_A, LOW);
digitalWrite(BPSK_CONTROL_B, HIGH);
delayMicroseconds(1);
digitalWrite(BPSK_CONTROL_A, LOW);
}
/*
tx_bit = (buffer[wav_position] > 0) ? HIGH: LOW;

Loading…
Cancel
Save

Powered by TurnKey Linux.