#define HTIRTrain ( _port,
_channel,
_func,
_result   )     __HTIRTrain(_port, _channel, _func, FALSE, _result)

HTIRTrain function.

Control an IR Train receiver set to the specified channel using the HiTechnic iRLink device. Valid func values are TRAIN_FUNC_STOP, TRAIN_FUNC_INCR_SPEED, TRAIN_FUNC_DECR_SPEED, and TRAIN_FUNC_TOGGLE_LIGHT. Valid channel values are TRAIN_CHANNEL_1 through TRAIN_CHANNEL_3 and TRAIN_CHANNEL_ALL. 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 IR Train channel. See IR Train channel constants.
_func The IR Train function. See PF/IR Train function constants
_result The function call result. NO_ERR or Communications specific errors.

Generated by  doxygen 1.6.2