-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a reconnect feature ? #1546
Comments
From a 1000 foot view I'm thinking that you may be able to solve this with a package called Currently trying to get a POC working, I can get the board to init after running the app and then plugging it in, however I can't get the board to connect a second time after unplugging it. Will keep you posted. |
@koraysels Just to be sure, you are using an Arduino connected over USB correct? |
correct! A USB Arduino Uno |
Right, so I have set up an example program here: https://github.com/divanvisagie/j5-restart/blob/master/index.js With regards to:
I found that when the board is disconnected, it wasn't removed from the I made a change here to remove the board when disconnected, however we seem to be holding onto other things as well. When I plug the board back in there are no longer errors and the board does seem to connect again, but the LED no longer flashes. If we make use of the |
@divanvisagie @koraysels thanks for all of your input but I was curious if you ever managed to fix that problem? I'm trying to use an Arduino Due using the Johnny-Five script function and I encounter the same problem... Sorry for bringing up this issue again, but I couldn't find an answer anywhere else. Thank you so much! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
how can I look for a new board after my current board connection is lost ? I know I have to re-initialize everything and also the state but that is no problem. I just want tobe sure that if no board is found or a board has disconnected, that the prgram keeps looking for new avaliable board and connect to it.
I have not found any possible way to do this yet... is it even possible ?
The text was updated successfully, but these errors were encountered: