NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void GetIOMapBytes ( string  moduleName,
unsigned int  offset,
unsigned int  count,
byte &  data[] 
)
inline

Get IOMap bytes by name.

Read one or more bytes of data from an IOMap structure. The IOMap structure is specified by its module name. 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.

Parameters
moduleNameThe module name of the IOMap. See NXT firmware module names.
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