Click or drag to resize

Output Class

Encapsulates motors controlled by PWM and GPIO outputs.
Inheritance Hierarchy
SystemObject
  IO.Objects.Motor.PWMOutput

Namespace: IO.Objects.Motor.PWM
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.356.1
Syntax
C#
public class Output : Output

The Output type exposes the following members.

Constructors
 NameDescription
Public methodOutput(Output, Output, Double) Constructor for a single motor, using two PWM outputs for clockwise and counterclockwise rotation control.
Public methodOutput(Pin, Output, Double) Constructor for a single motor, using one GPIO pin for direction control, and one PWM output for speed control.
Top
Properties
 NameDescription
Public propertyvelocity Write-only property for setting the normalized motor velocity. Allowed values are -1.0 (full speed reverse) to +1.0 (full speed forward).
Top
See Also