| aMotion_PeekPWM | Index |
Definition:
Parameters:
| channel | - | Motion control channel. |
Return Value:
Description:
This routine gets the current motor output, or PWM setting, for a motion control channel. The cmdMO_PEEK function provides equivalent functionality.
Example:
#include <aMotion.tea>
n=aMotion_PeekPWM(0);
This would set variable n to the current motor output for motion control channel 0.
Related: