minor update demo
This commit is contained in:
1 parent
fa4dcc0255
commit
340141a6a5
16 files changed
+32
-32
No files matched your search
@@ -52,8 +52,8 @@ void setup()
|
||||
// Set up Advertising Packet
|
||||
setupAdv();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -99,8 +99,8 @@ void setup()
|
||||
oled.println("Not connected");
|
||||
oled.display();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -46,8 +46,8 @@ void setup()
|
||||
// Setup the advertising packet
|
||||
setupAdv();
|
||||
|
||||
// Start advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
|
||||
Serial.println("Broadcasting beacon, open your beacon app to test");
|
||||
}
|
||||
|
||||
@@ -76,8 +76,8 @@ void setup()
|
||||
// Advertise device name in the Scan Response
|
||||
Bluefruit.ScanResponse.addName();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
|
||||
// Start MIDI read loop
|
||||
Scheduler.startLoop(midiRead);
|
||||
|
||||
@@ -56,8 +56,8 @@ void setup()
|
||||
// Set up Advertising Packet
|
||||
setupAdv();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
|
||||
Serial.println("Please use Adafruit's Bluefruit LE app to connect in UART mode");
|
||||
Serial.println("Once connected, enter character(s) that you wish to send");
|
||||
|
||||
@@ -26,8 +26,8 @@ void setup()
|
||||
// Set up Advertising Packet
|
||||
setupAdv();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -39,8 +39,8 @@ void setup(void)
|
||||
// Set up the advertising packet
|
||||
setupAdv();
|
||||
|
||||
// Start advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
|
||||
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!"));
|
||||
|
||||
@@ -74,10 +74,10 @@ void setup()
|
||||
Serial.println("Setting up the advertising payload(s)");
|
||||
setupAdv();
|
||||
|
||||
// Start Advertising
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Serial.println("Ready Player One!!!");
|
||||
Serial.println("\nAdvertising");
|
||||
Bluefruit.Advertising.start();
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
+2
-2
@@ -68,8 +68,8 @@ void setup()
|
||||
// Setup Advertising Packet
|
||||
setupAdv();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -59,8 +59,8 @@ void setup()
|
||||
// Setup Advertising Packet
|
||||
setupAdv();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -49,8 +49,8 @@ void setup()
|
||||
// Set up Advertising Packet
|
||||
setupAdv();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -95,8 +95,8 @@ void setup()
|
||||
// Set up the advertising packet
|
||||
setupAdv();
|
||||
|
||||
// Start advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -74,8 +74,8 @@ void setup()
|
||||
// Set up the advertising packet
|
||||
setupAdv();
|
||||
|
||||
// Start advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -56,8 +56,8 @@ void setup(void)
|
||||
// Set up Advertising Packet
|
||||
setupAdv();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
}
|
||||
|
||||
void setupAdv(void)
|
||||
|
||||
@@ -47,8 +47,8 @@ void setup()
|
||||
// Advertise device name in the Scan Response
|
||||
Bluefruit.ScanResponse.addName();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
|
||||
Scheduler.startLoop(midiRead);
|
||||
|
||||
|
||||
@@ -52,8 +52,8 @@ void setup()
|
||||
// Advertise device name in the Scan Response
|
||||
Bluefruit.ScanResponse.addName();
|
||||
|
||||
// Start Advertising
|
||||
Bluefruit.Advertising.start();
|
||||
// Start Advertising forever (stop second = 0)
|
||||
Bluefruit.Advertising.start(0);
|
||||
Serial.println("Waiting for connection...");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user