added 1 us delay in BPSK

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

@ -3434,11 +3434,11 @@ bool TimerHandler0(struct repeating_timer *t) {
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, LOW);
// delayMicroseconds(2); delayMicroseconds(1);
digitalWrite(BPSK_CONTROL_B, HIGH); digitalWrite(BPSK_CONTROL_B, HIGH);
} else { } else {
digitalWrite(BPSK_CONTROL_B, LOW); digitalWrite(BPSK_CONTROL_B, LOW);
// delayMicroseconds(2); delayMicroseconds(1);
digitalWrite(BPSK_CONTROL_A, HIGH); digitalWrite(BPSK_CONTROL_A, HIGH);
} }
/* /*

Loading…
Cancel
Save

Powered by TurnKey Linux.