Arduino_LSM6DSOX - end()

De-initialize the IMU.

Syntax

IMU.end()

Parameters

None.

Returns

None.

Example

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

// Read IMU data...

// Done with the IMU readings
IMU.end();

See also