You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this with a Bluetooth module and everything is working great. I'd like to be able to detect when the BT serial loses connection though so I can stop my robot from moving, is this possible?
The text was updated successfully, but these errors were encountered:
I Believe it's best to use a timer or some kind of timeout function.
There is no way to know if bluetooth has lost the connection other than
using system apis on a host computer.
If you do two-way-timeout it will be much better.
For example on your host computer software setup a timer for 500ms. and on
the arduino use milliseconds in a loop or so.
Then you might know it has lost connection.
I'm using this with a Bluetooth module and everything is working great.
I'd like to be able to detect when the BT serial looses connection though
so I can stop my robot from moving, is this possible?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.
I'm using this with a Bluetooth module and everything is working great. I'd like to be able to detect when the BT serial loses connection though so I can stop my robot from moving, is this possible?
The text was updated successfully, but these errors were encountered: