This commit is contained in:
hathach committed 2018-11-02 19:57:34 +07:00
1 parent a265ec7b81
commit 9a4d94f485
4 files changed
+9 -4

No files matched your search

@@ -51,6 +51,7 @@ void setup()
Bluefruit.configPrphBandwidth(BANDWIDTH_MAX);
Bluefruit.begin();
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
Bluefruit.setTxPower(4);
Bluefruit.setName("Bluefruit52");
@@ -34,14 +34,12 @@ void setup()
ExternalFS.begin();
Serial.print("Formating ...");
Serial.flush();
// Format without erase
// Pass true for full external flash erasing (take time)
ExternalFS.format(false);
Serial.println("Done");
Serial.flush();
}
// the loop function runs over and over again forever
@@ -34,14 +34,12 @@ void setup()
InternalFS.begin();
Serial.print("Formating ...");
Serial.flush();
// Format without erase
// Pass true for full external flash erasing (take time)
InternalFS.format(true);
Serial.println("Done");
Serial.flush();
}
// the loop function runs over and over again forever