UsbSabertoothGet Method SyRen/Sabertooth Library for .NET
Gets a value from the motor driver.

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

public int Get(
	char type,
	int number
)

Parameters

type
Type: SystemChar
The type of channel to get from. This can be 'S' (signal), 'A' (aux), 'M' (motor output), or 'P' (power output).
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.

Return Value

Type: Int32
The value, or GetTimedOut.
See Also

Reference