This article is automatically translated from Russian by Google Translator.
Provides control of the robot motor (power or servo motor) connected to ports M1, ..., M4, S1, ..., S6.
Blocking of motors for braking for a specified time in milliseconds.
As a parameter, you must specify the time in milliseconds.
Returns the current motor power (-100 to 100).
Turns the motor off.
Turns on the motor with the specified power.
As a parameter, you must specify the power. The power is set in the range from -100 ("full reverse") to 100 ("full forward"). 0 corresponds to a force break
, i.e. the motor stops, it is blocked and remains energized.
Method
Description
Blocking of motors for braking for a specified time.
Returns the current motor power.
Turns the motor off.
Turns on the motor with the specified power.