NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void GetIOMapValueByID ( unsigned long  moduleId,
unsigned int  offset,
variant &  value 

Get IOMap value by ID.

Read a value 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 read the value along with a variable that will contain the IOMap value.

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 value should be read.
valueA variable that will contain the value read from the IOMap.
This function requires the enhanced NBC/NXC firmware.