NXC
Version 1.2.1 r5
|
|
inline |
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.
port | The sensor port. See 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. |