WOLFRAM SYSTEM MODELER

write

Wolfram Language

In[1]:=
SystemModel["ModelPlug.Internal.I2C.write"]
Out[1]:=

Information

Writes an array of bytes to the given I2C device. The array needs to be comprised of integers in the 8-bit range (0-255).

Syntax

(new_state, new_t) = write(device, state, t, stage, data)

Inputs (5)

device

Type: Device

state

Type: State

t

Type: Transaction

stage

Type: Stage

data

Type: Integer[:]

Outputs (2)

new_state

Type: State

new_t

Type: Transaction