SyRenSimplified ClassSyRen/Sabertooth Library for .NET
Controls a SyRen motor driver running in Simplified Serial mode.
Inheritance Hierarchy

SystemObject
  DimensionEngineeringSerialMotorDriver
    DimensionEngineeringSyRenSimplified

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

public class SyRenSimplified : SerialMotorDriver

The SyRenSimplified type exposes the following members.

Constructors

  NameDescription
Public methodSyRenSimplified
Initializes a new instance of the SyRenSimplified class. Be sure to call Open(String, Int32).
Public methodSyRenSimplified(String, Int32)
Initializes a new instance of the SyRenSimplified class. The specified serial port is opened.
Top
Methods

  NameDescription
Public methodClose
Closes the serial port, if the instance has ownership of it.
(Inherited from SerialMotorDriver.)
Public methodMotor(Int32)
Sets the power of the motor.
Public methodMotor(Int32, Int32)
Sets the power of the specified motor.
Public methodOpen(SerialPort)
Uses an already-opened serial port.
(Inherited from SerialMotorDriver.)
Public methodOpen(Stream)
Uses an already-open stream.
(Inherited from SerialMotorDriver.)
Public methodOpen(SerialPort, Boolean)
Uses an already-opened serial port, and optionally takes ownership of it.
(Inherited from SerialMotorDriver.)
Public methodOpen(Stream, Boolean)
Uses an already-open stream, and optionally takes ownership of it.
(Inherited from SerialMotorDriver.)
Public methodOpen(String, Int32)
Opens the specified serial port.
(Inherited from SerialMotorDriver.)
Public methodStop
Stops.
Top
Properties

  NameDescription
Public propertyIsOpen
Gets whether the serial port is open.
(Inherited from SerialMotorDriver.)
Public propertyPort
Gets the serial port being used.
(Inherited from SerialMotorDriver.)
Top
See Also

Reference