Arduino_BMI270_BMM150 - 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