Skip to content

Commit 6f71f1e

Browse files
committed
enhance blemidi
1 parent 9b18487 commit 6f71f1e

File tree

1 file changed

+6
-0
lines changed
  • libraries/Bluefruit52Lib/examples/Peripheral/blemidi

1 file changed

+6
-0
lines changed

libraries/Bluefruit52Lib/examples/Peripheral/blemidi/blemidi.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,14 @@ void setup()
4242
Serial.begin(115200);
4343
Serial.println("Adafruit Bluefruit52 MIDI over Bluetooth LE Example");
4444

45+
// Config the peripheral connection with maximum bandwidth
46+
// more SRAM required by SoftDevice
47+
// Note: All config***() function must be called before begin()
48+
Bluefruit.configPrphBandwidth(BANDWIDTH_MAX);
49+
4550
Bluefruit.begin();
4651
Bluefruit.setName("Bluefruit52 MIDI");
52+
Bluefruit.setTxPower(4);
4753

4854
// Setup the on board blue LED to be enabled on CONNECT
4955
Bluefruit.autoConnLed(true);

0 commit comments

Comments
 (0)