i2cMaster.read (METH)¶
METHOD read : DINT
This method is used to directly read nBufferLen
bytes from a device with a certain address
return value: number of bytes that have actually been read
- InOut:
Scope
Name
Type
Comment
Return
read
DINT
Input
usiAddress
USINT
address of i²c device
pbyBuffer
POINTER TO BYTE
pointer to area, where the bytes are copied
nBufferLen
UDINT
number of bytes to read