C driver for Invensense ICM42607/ICM42670 6-axis gyroscope and accelerometer based on I2C/SPI communication.
- Get 3-axis accelerometer and 3-axis gyroscope data, either raw or as floating point values.
- Read temperature from ICM42607/ICM42670 internal temperature sensor.
- Configure gyroscope and accelerometer sensitivity.
- ICM42607/ICM42670 power down mode.
This driver, along with many other components from this repository, can be used as a package from Espressif's IDF Component Registry. To include this driver in your project, run the following idf.py from the project's root directory:
idf.py add-dependency "espressif/icm42670==*"
Another option is to manually create a idf_component.yml file. You can find more about using .yml files for components from Espressif's documentation.