Read a specified number of bytes from a i2c or serial device object using optional precision for bytesize.
dev - connected i2c or serial device opened using device
numbytes - number of bytes to read.
precision - Optional precision for the output data read data. Currently known precision values are uint8 (default), int8, uint16, int16
data - data read from the device
See also: arduino, device.
Package: arduino