Table of Contents

Class ServoOutput

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

Represents an operator that writes a sequence of angular positions to control a servomotor connected to an Arduino output pin.

public class ServoOutput : Sink<int>
Inheritance
ServoOutput
Inherited Members

Properties

Pin

Gets or sets the digital output pin number to which the servo is connected.

PortName

Gets or sets the name of the serial port used to communicate with the Arduino.

Methods

Process(IObservable<int>)

Writes a sequence of angular position values to control a servomotor connected to the specified Arduino output pin.