clean up
This commit is contained in:
1 parent
97fef23df6
commit
b0be7b356d
4 files changed
+20
No files matched your search
@@ -43,6 +43,11 @@ void setup()
|
||||
Serial.println("Go to iOS's Bluetooth settings and connect to Bluefruit52");
|
||||
Serial.println("It may appear up as 'Accessory' depending on your OS version.");
|
||||
|
||||
// Config the peripheral connection with maximum bandwidth
|
||||
// more SRAM required by SoftDevice
|
||||
// Note: All config***() function must be called before begin()
|
||||
Bluefruit.configPrphBandwidth(BANDWIDTH_MAX);
|
||||
|
||||
Bluefruit.begin();
|
||||
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
|
||||
Bluefruit.setTxPower(4);
|
||||
|
||||
@@ -77,6 +77,11 @@ void setup()
|
||||
oled.setTextSize(1);// max is 4 line, 21 chars each
|
||||
oled.setTextColor(WHITE);
|
||||
|
||||
// Config the peripheral connection with maximum bandwidth
|
||||
// more SRAM required by SoftDevice
|
||||
// Note: All config***() function must be called before begin()
|
||||
//Bluefruit.configPrphBandwidth(BANDWIDTH_MAX);
|
||||
|
||||
Bluefruit.begin();
|
||||
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
|
||||
Bluefruit.setTxPower(4);
|
||||
|
||||
@@ -39,6 +39,11 @@ void setup()
|
||||
Serial.println("Go to iOS's Bluetooth settings and connect to Bluefruit52");
|
||||
Serial.println("It may appear up as 'Accessory' depending on your iOS version.");
|
||||
|
||||
// Config the peripheral connection with maximum bandwidth
|
||||
// more SRAM required by SoftDevice
|
||||
// Note: All config***() function must be called before begin()
|
||||
Bluefruit.configPrphBandwidth(BANDWIDTH_MAX);
|
||||
|
||||
Bluefruit.begin();
|
||||
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
|
||||
Bluefruit.setTxPower(4);
|
||||
|
||||
@@ -47,6 +47,11 @@ void setup()
|
||||
oled.setTextSize(1);// max is 4 line, 21 chars each
|
||||
oled.setTextColor(WHITE);
|
||||
|
||||
// Config the peripheral connection with maximum bandwidth
|
||||
// more SRAM required by SoftDevice
|
||||
// Note: All config***() function must be called before begin()
|
||||
Bluefruit.configPrphBandwidth(BANDWIDTH_MAX);
|
||||
|
||||
Bluefruit.begin();
|
||||
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
|
||||
Bluefruit.setTxPower(4);
|
||||
|
||||
Reference in new issue
Block a user