Table of Contents

Class InputPullUp

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

Represents an operator that generates a sequence of digital state transitions from the specified Arduino input pin in pull-up mode.

public class InputPullUp : Source<bool>
Inheritance
InputPullUp
Inherited Members

Properties

Pin

Gets or sets the digital input pin number from which to take readings.

PortName

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

Methods

Generate()

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