MotorDrive(Int32) Method

Drives the motor at a percentage of its maximum speed (either forward or reverse).

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public void Drive(
	int speedPercent
)

Parameters

speedPercent  Int32
Percentage of motor's maximum speed, e.g. -50 or +90.

Exceptions

IOExceptionSerial port is in error state or not open.

See Also