Table of Contents

Method Process

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

Process(IObservable<int>)

Writes a sequence of int values to the specified Arduino output pin using PWM.

public override IObservable<int> Process(IObservable<int> source)

Parameters

source IObservable<int>

A sequence of int values to write into the specified Arduino output pin.

Returns

IObservable<int>

A sequence of the int values which have been written into the Arduino output pin.

Remarks

This operator only subscribes to the source sequence after initializing the connection to the Arduino and configuring the output pin mode to PWM.