Updated comment

This commit is contained in:
Kristian Sloth Lauszus 2013-05-07 15:50:38 +02:00
parent 0e2ae2c8b7
commit 3557dac88d
3 changed files with 5 additions and 3 deletions

View file

@ -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) {

View file

@ -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;

View file

@ -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]) {