Table of Contents

Constructor DigitalInputReceivedEventArgs

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

DigitalInputReceivedEventArgs(int, byte)

Initializes a new instance of the DigitalInputReceivedEventArgs class using the port number and port pin state received in the digital input message.

public DigitalInputReceivedEventArgs(int port, byte state)

Parameters

port int

The number identifying the digital port (i.e. collection of 8 pins) from which the state transition event originated.

state byte

The state of all the digital input pins in the specified port at the time the transition occurred.