File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
libraries/Bluefruit52Lib/examples/Peripheral Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1313*********************************************************************/
1414#include < bluefruit.h>
1515
16- BLEDis bledis;
16+ // BLE Service
17+ BLEDis bledis;
1718BLEUart bleuart;
18- BLEBas blebas;
19+ BLEBas blebas;
1920
2021#define STATUS_LED (17 )
2122#define BLINKY_MS (2000 )
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ uint8_t stride;
3030
3131Adafruit_NeoPixel pixels = Adafruit_NeoPixel();
3232
33+ // BLE Service
34+ BLEDis bledis;
3335BLEUart bleuart;
3436
3537void setup ()
@@ -41,9 +43,15 @@ void setup()
4143 // Config Neopixels
4244 pixels.begin ();
4345
46+ // Init Bluefruit
4447 Bluefruit.begin ();
4548 Bluefruit.setName (" Bluefruit52" );
4649
50+ // Configure and Start Device Information Service
51+ bledis.setManufacturer (" Adafruit Industries" );
52+ bledis.setModel (" Bluefruit Feather52" );
53+ bledis.begin ();
54+
4755 // Configure and start BLE UART service
4856 bleuart.begin ();
4957
You can’t perform that action at this time.
0 commit comments