NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char HTPFRepeat ( const byte  port,
const byte  count,
const unsigned int  delay 
)
inline

HTPFRepeat function.

Repeat sending the last Power Function command using the HiTechnic IRLink 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
portThe sensor port. See Input port constants.
countThe number of times to repeat the command.
delayThe number of milliseconds to delay between each repetition.
Returns
The function call result. NO_ERR or Communications specific errors.
Examples:
ex_HTPFRepeat.nxc.