UsbSabertoothSet Method SyRen/Sabertooth Library for .NET
Sets a value on the motor driver.

Namespace: DimensionEngineering
Assembly: DimensionEngineering.Sabertooth (in DimensionEngineering.Sabertooth.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax

public void Set(
	char type,
	int number,
	int value
)

Parameters

type
Type: SystemChar
The type of channel to set. This can be 'M' (motor output), 'P' (power output), 'Q' (freewheel), 'R' (ramping), or 'T' (current limit).
number
Type: SystemInt32
The number of the channel, 1 or 2. You can also use a character, such as '3', to select by Plain Text Serial address.
value
Type: SystemInt32
The value, between -16383 and 16383 (though in many cases, only -2047 to 2047 are meaningful).
See Also

Reference