This commit is contained in:
hathach committed 2020-03-19 17:15:22 +07:00
1 parent 1a6a88a556
commit f604a2c889
3 files changed
+8 -8

No files matched your search

@@ -89,14 +89,14 @@ void setup()
Bluefruit.begin(0, 1);
// clear bonds if BUTTON A is pressed
Serial.println("Hold button A to clear bonds ..... ");
Serial.flush();
delay(2000);
if (0 == digitalRead(PIN_BUTTON1))
{
Serial.println("Clear all central bonds");
Bluefruit.Central.clearBonds();
}
// Serial.println("Hold button A to clear bonds ..... ");
// Serial.flush();
// delay(2000);
// if (0 == digitalRead(PIN_BUTTON1))
// {
// Serial.println("Clear all central bonds");
// Bluefruit.Central.clearBonds();
// }
// To use dynamic PassKey for pairing, we need to have
// - IO capacities at least DISPPLAY