Arduino Toolkit - @device/write
- : write
(dev, datain) - : write
(dev, datain, precision) Write data to a I2C or serial device object using optional precision for the data byte used for the data.
Inputs
dev - connected i2c or serial device opened using device
datain - data to write to device. Datasize should not exceed the constraints of the data type specified for the precision.
precision - Optional precision for the input write data. Currently known precision values are uint8 (default), int8, uint16, int16
See also: arduino, device, read.