В момента ресурсът е наличен само на английски

Input parameters Pro Preview

In programming, a command is the name of a function followed by brackets. Examples of commands are run() and sleep_ms(). Inside the brackets, we write the information the command needs to work.

This information is called input parameters. They tell the command what to do:

  • In the "sleep_ms()" command, we enter a number that shows how long the program should wait. The number represents milliseconds (1 second = 1000 milliseconds).

  • The "run()" command also uses a number. This number sets the speed of the motor in degrees per second, which means how fast the motor turns.

  • The "stop()" command (and also "run()") needs to know which motor to control. For this, we use port.A, port.B, port.C, port.D, port.E, or port.F.

Необходимо е да се абонирате за FLLCasts.com, за да достъпите това видео

Абонирай се

  • #2583
  • 06 Feb 2026