added GPIO 13 Wiring Pi 23 check for VHF BPF

pull/124/head
alanbjohnston 5 years ago committed by GitHub
parent ef06a4974e
commit f0297e56bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,6 +302,20 @@ mode = AFSK;
onLedOn = HIGH;
onLedOff = LOW;
transmit = TRUE;
} else {
pinMode(23, INPUT);
pullUpDnControl(23, PUD_UP);
if (digitalRead(23) != HIGH) {
printf("vB5 Present with VHF BPF\n");
txLed = 2;
txLedOn = HIGH;
txLedOff = LOW;
vB5 = TRUE;
onLed = 27;
onLedOn = HIGH;
onLedOff = LOW;
transmit = TRUE;
}
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.