Skip to content

Commit b710d6f

Browse files
committed
add more description to example sketches
1 parent ad6f48c commit b710d6f

File tree

7 files changed

+33
-4
lines changed

7 files changed

+33
-4
lines changed

libraries/Bluefruit52Lib/examples/Peripheral/beacon/beacon.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ void setup()
4848

4949
// Start advertising
5050
Bluefruit.Advertising.start();
51+
52+
Serial.println("Broadcasting beacon, open your beacon app to test");
5153
}
5254

5355
void setupAdv(void)

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
All text above, and the splash screen below must be included in
1212
any redistribution
1313
*********************************************************************/
14+
15+
/* For BLE MIDI Setup
16+
* https://learn.adafruit.com/wireless-untztrument-using-ble-midi/overview
17+
*/
18+
19+
1420
#include <bluefruit.h>
1521
#include <MIDI.h>
1622

libraries/Bluefruit52Lib/examples/Peripheral/bleuart/bleuart.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ void setup()
6060

6161
// Start Advertising
6262
Bluefruit.Advertising.start();
63+
64+
Serial.println("Please use Adafruit Bluefruit LE app to connect in UART mode");
65+
Serial.println("Then Enter characters to send");
6366
}
6467

6568
void setupAdv(void)

libraries/Bluefruit52Lib/examples/Peripheral/controller/controller.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ void setup(void)
4141

4242
// Start advertising
4343
Bluefruit.Advertising.start();
44+
45+
Serial.println(F("Please use Adafruit Bluefruit LE app to connect in Controller mode"));
46+
Serial.println(F("Then activate/use the sensors, color picker, game controller, etc!"));
47+
Serial.println();
4448
}
4549

4650
void setupAdv(void)

libraries/Bluefruit52Lib/examples/Peripheral/hid_keyboard/hid_keyboard.ino

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ void setup()
5656

5757
// Start Advertising
5858
Bluefruit.Advertising.start();
59+
60+
Serial.println();
61+
Serial.println("Go to your phone's Bluetooth settings to pair your device");
62+
Serial.println("then open an application that accepts keyboard input");
63+
64+
Serial.println();
65+
Serial.println("Enter the character(s) to send:");
66+
Serial.println();
5967
}
6068

6169
void setupAdv(void)

libraries/Bluefruit52Lib/examples/Peripheral/hid_mouse/hid_mouse.ino

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,15 @@ void setup()
2424
Serial.begin(115200);
2525

2626
Serial.println("Bluefruit52 HID Mouse Example");
27-
Serial.println("- Enter 'WASD' to move mouse (up, left, down, right)");
28-
Serial.println("- Enter 'LRMBF' to press mouse button(s) (left, right, middle, backward, forward)");
29-
Serial.println("- Enter 'X' to release mouse button(s)");
27+
Serial.println("-----------------------------");
28+
Serial.println("Go to your phone's Bluetooth settings to pair your device");
29+
Serial.println("then open an application that accepts mouse input");
30+
Serial.println();
31+
32+
Serial.println("Enter following characters");
33+
Serial.println("- 'WASD' to move mouse (up, left, down, right)");
34+
Serial.println("- 'LRMBF' to press mouse button(s) (left, right, middle, backward, forward)");
35+
Serial.println("- 'X' to release mouse button(s)");
3036

3137
Bluefruit.begin();
3238
// HID Device can have a min connection interval of 9*1.25 = 11.25 ms

libraries/Bluefruit52Lib/examples/Peripheral/neopixel/neopixel.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void setup()
3838
{
3939
Serial.begin(115200);
4040
Serial.println("Adafruit Bluefruit Neopixel Test");
41-
Serial.println("------------------------------------");
41+
Serial.println("--------------------------------");
4242

4343
Serial.println();
4444
Serial.println("Please connect using Bluefruit Connect LE application");

0 commit comments

Comments
 (0)