Skip to content

Prevent "stop" button on mindstorm from exiting the program #764

Description

@foocross

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions