To be honest, I don’t know what detail to put, because the only issue i the delay when I press the GUI button in lighting an LED with an Arduino. The GUI is used on a PC or a Raspberry PI.
-
Regarding the port, the difference between the PI and PC, the PI uses a different port to a PC, and the issue is already solved.
-
The message I am sending is just a 1 letter string to the Arduino Bluetooth. The Arduino receives the data sent via PC/PI and it works, but the delay when Arduino via Bluetooth responds is not 1 millisecond, it is estimated to be 500millisec to 1 sec. And the 2 devices are just side by side.
-
The code I used is just a basic code from the samples. I will try recoding if it would make a difference.