Table of Contents

Method DigitalPortWrite

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

DigitalPortWrite(int, byte)

Sets the state of all the digital output pins in the specified port simultaneously.

public void DigitalPortWrite(int port, byte value)

Parameters

port int

The number of the digital port (i.e. collection of 8 pins) to write.

value byte

A byte value where each bit will be used to set the state of one pin in the digital port.