| aMotion_SetMode | Index |
Definition:
Parameters:
| stemRef | - | An opaque library reference representing the aStem library which manages the communication with the BrainStem modules. |
| module | - | The IIC address of the module that will receive new configuration data for one of its motion control channels. This need not be the router. |
| channel | - | The index of the motion control channel. |
| val | - | The new mode code. |
| flags | - | The new flag settings. |
Return Value:
Description:
This routine manages the BrainStem packets needed to set a new configuration for a motion control channel.
See the cmdMO_CFG documentation for a list of the motion control mode codes and a description of the flag bits.
Related: