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.
- Parameters
-
moduleId | The module ID of the IOMap to modify. See NXT firmware module IDs. |
offset | The number of bytes offset from the start of the IOMap structure where the new value should be written. |
value | A variable containing the new value to write to the IOMap. |
- Warning
- This function requires the enhanced NBC/NXC firmware.