runmotor()

Function Definition: runmotor(motor = "fl", speed = 100)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
motorstringThe motor that needs to be controlled."fl", "bl", "br", "fr""fl"
speedintThe target speed of the motor.-100 to 100100

Description

The function controls the speed of a selected motor, allowing it to run at a specified speed.

Example

There are no examples documented for this article.
Table of Contents