Get IOMap bytes by ID.
Read one or more bytes of data from 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 reading, the number of bytes to read from that location, and a byte array where the data will be stored.
- Parameters
-
moduleId | The module ID of the IOMap. See NXT firmware module IDs. |
offset | The number of bytes offset from the start of the IOMap structure where the data should be read. |
count | The number of bytes to read from the specified IOMap offset. |
data | A byte array that will contain the data read from the IOMap. |
- Warning
- This function requires the enhanced NBC/NXC firmware.