Module program

Source
Expand description

User program state.

This module provides functionality for controlling the state of the currently running user program on the Brain. At the time, that is essentially just functionality for exiting the program early using the abort and exit functions.

Traits§

Termination
A trait that can be implemented for arbitrary return types in the main function.

Functions§

abort
Exits the program using vexSystemExitRequest without flushing the serial buffer.
exit
Exits the program using vexSystemExitRequest.