mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Updated comment
This commit is contained in:
parent
0e2ae2c8b7
commit
3557dac88d
3 changed files with 5 additions and 3 deletions
|
@ -33,7 +33,7 @@ void setup() {
|
|||
output.reserve(200); // Reserve 200 bytes for the output string
|
||||
}
|
||||
void loop() {
|
||||
Usb.Task(); // The SPP data is actually not send until Usb.Task() is called
|
||||
Usb.Task(); // The SPP data is actually not send until this is called, one could call SerialBT.send() directly as well
|
||||
|
||||
if(SerialBT.connected) {
|
||||
if(firstMessage) {
|
||||
|
|
|
@ -22,7 +22,8 @@ void setup() {
|
|||
Serial.print(F("\r\nSPP Bluetooth Library Started"));
|
||||
}
|
||||
void loop() {
|
||||
Usb.Task(); // The SPP data is actually not send until Usb.Task() is called
|
||||
Usb.Task(); // The SPP data is actually not send until this is called, one could call SerialBT.send() directly as well
|
||||
|
||||
if(SerialBT.connected) {
|
||||
if(firstMessage) {
|
||||
firstMessage = false;
|
||||
|
|
|
@ -34,7 +34,8 @@ void setup() {
|
|||
Serial.print(F("\r\nSPP Bluetooth Library Started"));
|
||||
}
|
||||
void loop() {
|
||||
Usb.Task(); // The SPP data is actually not send until Usb.Task() is called
|
||||
Usb.Task(); // The SPP data is actually not send until this is called, one could call SerialBT.send() directly as well
|
||||
|
||||
for(uint8_t i=0;i<length;i++) {
|
||||
if(SerialBT[i]->connected) {
|
||||
if(firstMessage[i]) {
|
||||
|
|
Loading…
Reference in a new issue