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:
-
| _modID | 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. |
| _n | A variable containing the new value to write to the IOMap. |
- Warning:
- This function requires the enhanced NBC/NXC firmware.