Skip to content

Commit

Permalink
enhance blemidi
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Jan 5, 2018
1 parent 9b18487 commit 6f71f1e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ void setup()
Serial.begin(115200);
Serial.println("Adafruit Bluefruit52 MIDI over Bluetooth LE Example");

// 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();
Bluefruit.setName("Bluefruit52 MIDI");
Bluefruit.setTxPower(4);

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

0 comments on commit 6f71f1e

Please sign in to comment.