Forum >[Bluno] Code hang up until serial monitor launch
General

[Bluno] Code hang up until serial monitor launch

userHead Account cancelled 2015-05-30 19:37:15 2109 Views0 Replies
does someone know why the code hang up until serial monitor launch?
I've bluetooth device to receive the data from arduino.
BLUNO borad is (UNO+Bluetooth Low Engery module).
that's why our code only do serial prints.
Then i expect our app(ble device) can receive those data.

But just like i said,
our app can receive those data until serial monitor launch.

Here is the source code.

Code: Select all
#define BAUD_RATE_BLE  9600

void setup() {
// put your setup code here, to run once:
Serial.begin( BAUD_RATE_BLE); // bt
delay(2000);
}

void loop() {
// put your main code here, to run repeatedly:
Serial.print("loop");
delay(2000);
}


Any suggestions are appreciated.