ARC Pro

Upgrade to ARC Pro

ARC Early Access will give you immediate updates and new features 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.