The fourth input parameter of the run_time command Pro Preview

The fourth input parameter of the run_time command is a boolean variable. While the numeric variables can have values such as 1, 2, 3 and any other numbers, boolean variables can only have values "True" and "False".

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1543
  • 15 Feb 2020

This variable tells the run_time command whether or not to wait until it has fully executed or to continue executing other commands while simultaneously driving the motor.

When we do not pass this parameter, it accepts "True" as a default value and the program waits for the command to fully complete. 

This parameter allows you to use the run_time command to drive both motors simultaneously.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Python with LEGO Mindstorms EV3 - Level 1
  • 74
  • 28:18
  • 114
Image for Lesson 3 - Luna 3
  • 5
  • 3
  • 6
  • 3d_rotation 1