This block looks like it only happens once. I need to constantly check for data coming in from the Arduino through the BLE module to the App. Therefore, I need a block to loop the BLE receive function.
Ok…
So, if you use a loop, I assume everytime you will get “V” as the response, right?
If so, Text to speech will continuously speak obstacle detected (It will be fishy…)
So, can you suggest another way you can replace the text-to-speech block?
Oh, actually, the Arduino sends the “V” whenever it detects an obstacle. Now, the App is supposed to be listening for this “V” in order to vibrate the phone and speak “obstacle detected”. That’s what I have in mind
In Arduino C programming, a while loop would cause the flow of the code to pause until the test condition becomes false. And here, the test condition is “true” (as in “while TRUE”), which would always be true. I was wondering if it would “block” the flow.
Similar problems when trying to receive data over BLE. Tried HC08 and HC10 modules with no success. Transmit seems to work ok, just not receive.
Has anyone been successful receiving data over BLE with Thunkable?
If so, please chime in and help us out here.