Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmessiter committed Jun 30, 2024
1 parent f8d7adc commit dfa928a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ReceiverCode/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,12 +656,12 @@ FLASHMEM void setup()
pinMode(BINDPLUG_PIN, INPUT_PULLUP);
digitalWrite(LED_PIN, HIGH);
TurnLedOff();
// if (digitalRead(BINDPLUG_PIN)) { // FIX THIS FOR SENSOR HUB
// // delay(2500); // Needed so that the Sensor hub can boot first and be detected (bind plug out)
// }
// else {
// // delay(150); // Bind plug in
// }
if (digitalRead(BINDPLUG_PIN)) { // FIX THIS FOR SENSOR HUB
delay(2500); // Needed so that the Sensor hub can boot first and be detected (bind plug out)
}
else {
delay(250); // Bind plug in
}

Wire.begin();
delay(1);
Expand Down

0 comments on commit dfa928a

Please sign in to comment.