enhance blemidi

This commit is contained in:
hathach committed 2018-01-05 22:28:51 +07:00
1 parent 9b18487a06
commit 6f71f1e896
1 file changed
+6
@@ -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);