NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void GetIOMapBytesByID ( unsigned long  moduleId,
unsigned int  offset,
unsigned int  count,
byte &  data[] 

Get IOMap bytes by ID.

Read one or more bytes of data from an IOMap structure. The IOMap structure is specified by its Module ID. You also provide the offset into the IOMap structure where you want to start reading, the number of bytes to read from that location, and a byte array where the data will be stored.

moduleIdThe module ID of the IOMap. See NXT firmware module IDs.
offsetThe number of bytes offset from the start of the IOMap structure where the data should be read.
countThe number of bytes to read from the specified IOMap offset.
dataA byte array that will contain the data read from the IOMap.
This function requires the enhanced NBC/NXC firmware.