Esempio n. 1
0
                /**
                 * Sets the compass angle. Although compass is absolute [0,360) degrees, the
                 * continuous compass register holds the wrap-arounds.
                 *
                 * @param angleDeg  Degrees to set continuous compass angle to.
                 * @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 SetCompassAngle(float angleDeg, int timeoutMs)
                {
                    ErrorCode retval = _ll.SetCompassAngle(angleDeg, timeoutMs);

                    return(retval);
                }