Write bytes to an I2C device.
Namespace: IO.Objects.SimpleIO.I2CAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.136.1
Syntaxpublic void Write(
int slaveaddr,
byte[] cmd,
int cmdlen
)
Parameters
- slaveaddr Int32
- Slave device address.
- cmd Byte
- Command buffer.
- cmdlen Int32
- Number of bytes to write.
Implements
BusWrite(Int32, Byte, Int32)
See Also