EventLoop¶
- class wpilib.event.EventLoop¶
Bases:
pybind11_objectThe loop polling BooleanEvent objects and executing the actions bound to them.
- bind(action: Callable[[], None]) None¶
Bind a new action to run.
- Parameters:
action – the action to run.
- clear() None¶
Clear all bindings.
- poll() None¶
Poll all bindings.