Sharp IR Radar icon Sharp IR Radar Radar-style Sharp IR scanner for EZB ADC: sweeps sensor, displays distance dots, logs ADC voltage, and can steer/avoid obstacles via Movement Panel Try it →
 

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.