Example #1
0
        /**
         * Enables clearing the position of the feedback sensor when the forward
         * limit switch is triggered
         *
         * @param clearPositionOnLimitF     Whether clearing is enabled, defaults false
         * @param timeoutMs
         *            Timeout value in ms. If nonzero, function will wait for
         *            config success and report an error if it times out.
         *            If zero, no blocking or checking is performed.
         * @return Error Code generated by function. 0 indicates no error.
         */
        public ErrorCode ConfigClearPositionOnLimitF(bool clearPositionOnLimitF, int timeoutMs)
        {
            ErrorCode retval = _ll.ConfigClearPositionOnLimitF(clearPositionOnLimitF, timeoutMs);

            return(retval);
        }