example

Example of the component espp/icm42607 v1.0.9

ICM42607 Example

This example shows how to use the espp::Icm42607 component to initialize and communicate with an ICM42607 / ICM42670 6-axis IMU.

CleanShot 2025-03-04 at 15 14 10

How to use example

Hardware Required

This example is designed to run on the ESP32-S3-BOX or ESP32-S3-BOX-3, as they have on-board IMUs.

Build and Flash

Build the project and flash it to the board, then run monitor tool to view serial output:

Plaintext

idf.py -p PORT flash monitor

(Replace PORT with the name of the serial port to use.)

(To exit the serial monitor, type Ctrl-].)

See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.

Example Output

CleanShot 2025-03-04 at 15 15 45

Running with esp-cpp/uart-serial-plotter: CleanShot 2025-03-04 at 15 14 10

To create a project from this example, run:

idf.py create-project-from-example "espp/icm42607=1.0.9:example"

or download archive (~4.69 KB)