DFRobot / BlunoBasicDemo

The basic demo for bluno
GNU General Public License v3.0
166 stars 231 forks source link

BLE only works when Serial monitor opens #23

Open davidryan316 opened 2 years ago

davidryan316 commented 2 years ago

I am using the Arduino IDE and am experiencing the following problem .

• I have the bluno beetle wirelessly connected to a HM-10 Bluetooth module which is connected to an Arduino nano. • I am sending a ‘1’ and a '0' through serial.write function from the beetle to the to the HM-10 in the main loop. • The HM-10 acknowledges the receiving ‘1’ when the serial monitor of the bluno beetle is open or open then closed which turns on and off an LED.

But the main problem I am having is if I do not open the serial monitor to the Beetle when first connected it will not receive the ‘1’.

I hope this is clear as I am quite new to this and it is very hard to describe through text. I can upload my HM-10 code if needed Github_sketch.txt