Table of Contents

Class SendSysex

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

Represents an operator that sends a sequence of system exclusive messages to the specified Arduino.

public class SendSysex : Sink<byte[]>
Inheritance
SendSysex
Inherited Members

Properties

Feature

Gets or sets the feature ID used to identify the system exclusive message payload.

public int Feature { get; set; }

Property Value

int

PortName

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

[TypeConverter(typeof(PortNameConverter))]
public string PortName { get; set; }

Property Value

string

Methods

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.