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:
try:
<run some code>
except:
pass
<rest of the program>
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?
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?