added ir sending support for calibration