a4e02dcd03
* add block to stop program * renaming
18 lines
249 B
Markdown
18 lines
249 B
Markdown
# exit Program
|
|
|
|
Stops the program and returns to the brick menu
|
|
|
|
```sig
|
|
brick.exitProgram();
|
|
```
|
|
|
|
## Example
|
|
|
|
Do a sequence of motor commands and stop the program.
|
|
|
|
```blocks
|
|
motors.largeA.run(50)
|
|
pause(500)
|
|
motors.stopAll()
|
|
brick.exitProgram();
|
|
``` |