only print when > 833

pull/186/head
alanbjohnston 3 years ago committed by GitHub
parent 68c30d45a7
commit 79fd8135dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3429,7 +3429,8 @@ bool TimerHandler0(struct repeating_timer *t) {
// Serial.print(wav_position);
// Serial.print(" ");
while ((micros() - micro_timer2) < 832) { }
Serial.println(micros() - micro_timer2);
if ((micros() - micro_timer2) > 833)
Serial.println(micros() - micro_timer2);
micro_timer2 = micros();
if (buffer[wav_position++] > 0) {
digitalWrite(BPSK_CONTROL_A, HIGH);

Loading…
Cancel
Save

Powered by TurnKey Linux.