MSPFRepeat function.
Repeat sending the last Power Function command using the mindsensors NRLink device. Specify the number of times to repeat the command and the number of milliseconds of delay between each repetition. The port must be configured as a Lowspeed port before using this function.
- Parameters
-
port | The sensor port. See Input port constants. |
i2caddr | The sensor I2C address. See sensor documentation for this value. |
count | The number of times to repeat the command. |
delay | The number of milliseconds to delay between each repetition. |
- Returns
- The function call result. NO_ERR or Communications specific errors.
- Examples:
- ex_MSPFRepeat.nxc.