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

Set IOMap value by ID.

Set one of the fields of an IOMap structure to a new value. The IOMap structure is specified by its Module ID. You also provide the offset into the IOMap structure where you want to write the value along with a variable containing the new value.

moduleIdThe module ID of the IOMap to modify. See NXT firmware module IDs.
offsetThe number of bytes offset from the start of the IOMap structure where the new value should be written.
valueA variable containing the new value to write to the IOMap.
This function requires the enhanced NBC/NXC firmware.