| aOOPic_ReadInt | Index |
Definition:
Parameters:
Return Value:
Description:
This routine retrieves an int from the object RAM in an OOPic microcontroller.
This routine reverses the byte-ordering of the retrieved data for compatibility with OOPic byte-ordering of 2-byte values. Generalized 2-byte data transfers must account for this byte-reordering or use two single-byte accesses.
Example:
n = aOOPic_ReadInt(4,124);
This would read an int stored at location 124 in the object RAM of an OOPic with a node setting of 4.
Related: