add more description to example sketches
This commit is contained in:
1 parent
ad6f48c4d2
commit
b710d6f056
7 files changed
+33
-4
No files matched your search
@@ -48,6 +48,8 @@ void setup()
|
||||
|
||||
// Start advertising
|
||||
Bluefruit.Advertising.start();
|
||||
|
||||
Serial.println("Broadcasting beacon, open your beacon app to test");
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user