#define HTPFSingleOutputCST ( _port,
_channel,
_out,
_func,
_result   )     __HTPFSingleOutput(_port, _channel, _out, _func, TRUE, _result)

HTPFSingleOutputCST function.

Control a single output on a Power Function receiver set to the specified channel using the HiTechnic iRLink device. Select the desired output using PF_OUT_A or PF_OUT_B. Valid functions are PF_CST_CLEAR1_CLEAR2, PF_CST_SET1_CLEAR2, PF_CST_CLEAR1_SET2, PF_CST_SET1_SET2, PF_CST_INCREMENT_PWM, PF_CST_DECREMENT_PWM, PF_CST_FULL_FWD, PF_CST_FULL_REV, and PF_CST_TOGGLE_DIR. Valid channels are PF_CHANNEL_1 through PF_CHANNEL_4. The port must be configured as a Lowspeed port before using this function.

Parameters:
_port The sensor port. See NBC Input port constants.
_channel The Power Function channel. See Power Function channel constants.
_out The Power Function output. See Power Function output constants.
_func The Power Function CST function. See Power Function CST options constants.
_result The function call result. NO_ERR or Communications specific errors.

Generated by  doxygen 1.6.2