Adapter.ReadBytes Method (console safe)
Reads number of bytes bytes returning them as array of UInt8.

ReadBytes(
command
as UInt8,
count
as UInt8)
as UInt8()
Parameters
- command
- Command to send to the device when reading the byte.
- count
- Number of bytes to read (Maximum 32 bytes).
Returns
- UInt8()
- The read bytes.
Remarks
This function needs I2CReadBlock capability on the device.
This function throws I2CException if there is error.
See Also
Adapter Class