ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

write

I2C.write(address, byte/byteArray, [ezbIndex])

Parameters

address Address of the device to read from as a hexadecimal number (e.g.0x5e).
byte/byteArray Byte or byte array to write to the device.
ezbIndex (optional) Board index of the EZB to write to.

Returns

Nothing

Description

Writes byte to the device at address. A byte array can instead be provided to write to the device at address.