clean up
This commit is contained in:
1 parent
673f1821ac
commit
1aae171957
18 files changed
+19
-8
No files matched your search
@@ -26,7 +26,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 Central BLEUART Example");
|
||||
Serial.println("-----------------------------------");
|
||||
Serial.println("-----------------------------------\n");
|
||||
|
||||
// Enable both peripheral and central
|
||||
Bluefruit.begin(true, true);
|
||||
|
||||
+2
-2
@@ -88,8 +88,8 @@ void setup()
|
||||
blinkTimer.begin(100, blink_timer_callback);
|
||||
blinkTimer.start();
|
||||
|
||||
Serial.println("Bluefruit52 Central Mulitple BLEUART Example");
|
||||
Serial.println("--------------------------------------------");
|
||||
Serial.println("Bluefruit52 Central Multiple BLEUART Example");
|
||||
Serial.println("--------------------------------------------\n");
|
||||
|
||||
// Enable both peripheral and central
|
||||
Bluefruit.begin(true, true);
|
||||
|
||||
@@ -19,6 +19,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 Central Scan Example");
|
||||
Serial.println("--------------------------------\n");
|
||||
|
||||
// Enable both peripheral and central
|
||||
Bluefruit.begin(true, true);
|
||||
|
||||
+1
@@ -23,6 +23,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 Central ADV Scan Example");
|
||||
Serial.println("------------------------------------\n");
|
||||
|
||||
/* Enable both peripheral and central modes */
|
||||
Bluefruit.begin(true, true);
|
||||
|
||||
@@ -19,6 +19,7 @@ void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
Serial.println("Bluefruit52 Memory Info Example");
|
||||
Serial.println("-------------------------------\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
Serial.println("Bluefruit52 NFC to GPIO Pin Config");
|
||||
Serial.println("----------------------------------\n");
|
||||
if ((NRF_UICR->NFCPINS & UICR_NFCPINS_PROTECT_Msk) == (UICR_NFCPINS_PROTECT_NFC << UICR_NFCPINS_PROTECT_Pos)){
|
||||
Serial.println("Fix NFC pins");
|
||||
NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Wen << NVMC_CONFIG_WEN_Pos;
|
||||
|
||||
@@ -33,6 +33,7 @@ void setup()
|
||||
|
||||
Serial.begin(115200);
|
||||
Serial.println("Bluefruit52 Blinky Example");
|
||||
Serial.println("--------------------------\n");
|
||||
|
||||
// Initialize blinkTimer for 1000 ms and start it
|
||||
blinkTimer.begin(1000, blink_timer_callback);
|
||||
|
||||
@@ -38,7 +38,7 @@ void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
Serial.println("Bluefruit52 BLE ANCS Example");
|
||||
Serial.println("----------------------------");
|
||||
Serial.println("----------------------------\n");
|
||||
|
||||
Serial.println("Go to iOS's Bluetooth settings and connect to Bluefruit52");
|
||||
Serial.println("It may appear up as 'Accessory' depending on your OS version.");
|
||||
|
||||
@@ -36,6 +36,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 Beacon Example");
|
||||
Serial.println("--------------------------\n");
|
||||
|
||||
Bluefruit.begin();
|
||||
Bluefruit.setName("Bluefruit52");
|
||||
|
||||
@@ -19,6 +19,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 Blinky Example");
|
||||
Serial.println("--------------------------\n");
|
||||
|
||||
Bluefruit.begin();
|
||||
Bluefruit.setName("Bluefruit52");
|
||||
|
||||
@@ -23,6 +23,7 @@ void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
Serial.println("Bluefruit52 Clear Bonds Example");
|
||||
Serial.println("-------------------------------\n");
|
||||
|
||||
Bluefruit.begin();
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
Serial.println("Bluefruit52 HRM Example");
|
||||
Serial.println("-----------------------");
|
||||
Serial.println("-----------------------\n");
|
||||
|
||||
// Initialise the Bluefruit module
|
||||
Serial.println("Initialise the Bluefruit nRF52 module");
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 HID Camera Shutter Example");
|
||||
Serial.println("--------------------------------------");
|
||||
Serial.println("--------------------------------------\n");
|
||||
|
||||
Serial.println();
|
||||
Serial.println("Go to your phone's Bluetooth settings to pair your device");
|
||||
|
||||
@@ -23,7 +23,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 HID Keyboard Example");
|
||||
Serial.println("--------------------------------");
|
||||
Serial.println("--------------------------------\n");
|
||||
|
||||
Serial.println();
|
||||
Serial.println("Go to your phone's Bluetooth settings to pair your device");
|
||||
|
||||
@@ -23,7 +23,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 HID Mouse Example");
|
||||
Serial.println("-----------------------------");
|
||||
Serial.println("-----------------------------\n");
|
||||
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();
|
||||
|
||||
@@ -34,6 +34,7 @@ void setup(void)
|
||||
{
|
||||
Serial.begin(115200);
|
||||
Serial.println("Bluefruit52 Throughput Example");
|
||||
Serial.println("------------------------------\n");
|
||||
|
||||
// Setup the BLE LED to be enabled on CONNECT
|
||||
// Note: This is actually the default behaviour, but provided
|
||||
|
||||
@@ -28,6 +28,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 BLEMIDI RX Test");
|
||||
Serial.println("---------------------------\n");
|
||||
|
||||
Bluefruit.autoConnLed(true);
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println("Bluefruit52 BLEMIDI TX Test");
|
||||
Serial.println("---------------------------\n");
|
||||
|
||||
Bluefruit.autoConnLed(true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user