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

Get IOMap value by name.

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

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 value should be read
valueA variable that will contain the value read from the IOMap