Set IOMap bytes by ID.
Modify one or more bytes of data in an IOMap structure. The IOMap structure is specified by its Module ID. You also provide the offset into the IOMap structure where you want to start writing, the number of bytes to write at that location, and a byte array containing the new data.
- 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 data should be written. |
count | The number of bytes to write at the specified IOMap offset. |
data | The byte array containing the data to write to the IOMap. |
- Warning
- This function requires the enhanced NBC/NXC firmware.