i2cMaster.write (METH)

METHOD write : DINT

This method is used to directly write nBufferLen bytes to a device with a certain address

InOut:

Scope

Name

Type

Comment

Return

write

DINT

Number of bytes that have actually been written

Input

usiAddress

USINT

address of i²c device

pbyBuffer

POINTER TO BYTE

Pointer to the buffer that contains the data

nBufferLen

UDINT

number of bytes to write