NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void GetLSOutputBuffer ( const byte  port,
const byte  offset,
byte  cnt,
byte &  data[] 
)
inline

Get I2C output buffer data.

This method reads cnt bytes of data from the I2C output buffer for the specified port and writes it to the buffer provided.

Parameters
portA constant port number (S1..S4). See Input port constants.
offsetA constant offset into the I2C output buffer.
cntThe number of bytes to read.
dataThe byte array reference which will contain the data read from the I2C output buffer.
Examples:
ex_GetLSOutputBuffer.nxc.