NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void SetIOMapValue ( string  moduleName,
unsigned int  offset,
variant  value 
)
inline

Set IOMap value by name.

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

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