|cModule||-||The address of the remote module you want to write a value to.|
|cIndex||-||The index of the scratchpad for storing the char value..|
|cData||-||The value to be stored.|
This routine writes a char value into the scratch pad on a remote module specified by cModule. An char takes up one byte in the scratch pad. The index cIndex is the scratchpad address of that byte.
The scratch pad is accessible by all processes and reflexes. It provides a convenient means for parameter passing between processes and reflexes and is more efficient than using semaphores. It is the user's responsibility to keep track of scratch pad locations and prevent overwriting of data.
The GP 1.0 module has 32 bytes of scratch pad RAM. It can store up to 32 values.
When the desired scratchpad is on the Brainstem that is running the routine, it is more efficient to use the aPad_WriteChar routine.
This routine is available in builds later than build 60323.
This would write the char value 7 on module 2 scratchpad location 0.