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
Trying to intercept the stop button command sounds like a bad idea (something goes wrong, program can no longer be stopped). However, using multiprocessing, you can listen for button presses while something else is running. Here's an example.
We are running the latest version of ev3dev with python
We are trying to catch the exception during a program run so that it does not cause the program to exit. We tried:
Is there another way to catch when the stop button is pressed? Or is there a way to watch for another button to be pressed during normal ewxecution?
The text was updated successfully, but these errors were encountered: