Table of Contents

Method Process

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

Process(IObservable<byte[]>)

Writes a sequence of system exclusive messages to the specified Arduino.

public override IObservable<byte[]> Process(IObservable<byte[]> source)

Parameters

source IObservable<byte[]>

A sequence of byte arrays specifying the payload data to include in each of the system exclusive messages sent to the Arduino. The specified feature ID will be used to identify each message.

Returns

IObservable<byte[]>

A sequence of byte arrays containing the payload data which was included with each system exclusive message sent to the Arduino.

Remarks

This operator only subscribes to the source sequence after initializing the connection to the Arduino.