Table of Contents

Method Generate

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

Generate()

Configures the digital pin as INPUT_PULLUP and generates an observable sequence of all its state transitions.

public override IObservable<bool> Generate()

Returns

IObservable<bool>

A sequence of bool values that report the binary state transitions of the specified Arduino input pin: true if the pin is now HIGH; false if the pin is now LOW.