Skip to content

Commit

Permalink
add more description to example sketches
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Mar 21, 2017
1 parent ad6f48c commit b710d6f
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ void setup()

// Start advertising
Bluefruit.Advertising.start();

Serial.println("Broadcasting beacon, open your beacon app to test");
}

void setupAdv(void)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
All text above, and the splash screen below must be included in
any redistribution
*********************************************************************/

/* For BLE MIDI Setup
* https://learn.adafruit.com/wireless-untztrument-using-ble-midi/overview
*/


#include <bluefruit.h>
#include <MIDI.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ void setup()

// Start Advertising
Bluefruit.Advertising.start();

Serial.println("Please use Adafruit Bluefruit LE app to connect in UART mode");
Serial.println("Then Enter characters to send");
}

void setupAdv(void)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ void setup(void)

// Start advertising
Bluefruit.Advertising.start();

Serial.println(F("Please use Adafruit Bluefruit LE app to connect in Controller mode"));
Serial.println(F("Then activate/use the sensors, color picker, game controller, etc!"));
Serial.println();
}

void setupAdv(void)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ void setup()

// Start Advertising
Bluefruit.Advertising.start();

Serial.println();
Serial.println("Go to your phone's Bluetooth settings to pair your device");
Serial.println("then open an application that accepts keyboard input");

Serial.println();
Serial.println("Enter the character(s) to send:");
Serial.println();
}

void setupAdv(void)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ void setup()
Serial.begin(115200);

Serial.println("Bluefruit52 HID Mouse Example");
Serial.println("- Enter 'WASD' to move mouse (up, left, down, right)");
Serial.println("- Enter 'LRMBF' to press mouse button(s) (left, right, middle, backward, forward)");
Serial.println("- Enter 'X' to release mouse button(s)");
Serial.println("-----------------------------");
Serial.println("Go to your phone's Bluetooth settings to pair your device");
Serial.println("then open an application that accepts mouse input");
Serial.println();

Serial.println("Enter following characters");
Serial.println("- 'WASD' to move mouse (up, left, down, right)");
Serial.println("- 'LRMBF' to press mouse button(s) (left, right, middle, backward, forward)");
Serial.println("- 'X' to release mouse button(s)");

Bluefruit.begin();
// HID Device can have a min connection interval of 9*1.25 = 11.25 ms
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void setup()
{
Serial.begin(115200);
Serial.println("Adafruit Bluefruit Neopixel Test");
Serial.println("------------------------------------");
Serial.println("--------------------------------");

Serial.println();
Serial.println("Please connect using Bluefruit Connect LE application");
Expand Down

0 comments on commit b710d6f

Please sign in to comment.