Arduino_LSM9DS1 - begin()

Initialize the IMU.

Syntax

IMU.begin()

Parameters

None.

Returns

1 on success, 0 on failure.

Example

if (!IMU.begin()) {
    Serial.println("Failed to initialize IMU!");
    while (1);
}

See also