Table of Contents

Method I2CRequest

Namespace
Bonsai.Arduino
Assembly
Bonsai.Arduino.dll

I2CRequest(int, I2CRequestMode, params byte[])

Sends a request to the I2C device with the specified address.

public void I2CRequest(int address, I2CRequestMode mode, params byte[] data)

Parameters

address int

The address of the slave device in the I2C bus.

mode I2CRequestMode

The read/write mode of the request.

data byte[]

The data payload for the I2C request.