# ESP MMA7660 [](https://components.espressif.com/components/jbrilha/mma7660) This component provides an implementation of the MMA7660(FC) 3-Axis digital accelerometer (I2C), based on Grove's Arduino-based implementation ([available here](https://github.com/Seeed-Studio/Accelerometer_MMA7660)). You can find its datasheet [here](https://www.nxp.com/docs/en/data-sheet/MMA7660FC.pdf). ## Usage in a project 1. As an ESP-IDF component, via `idf.py add-dependency`: ```bash idf.py add-dependency "jbrilha/mma7660^1.0.0" ``` 2. Or including in it `idf_component.yml` - As a dependency: ```bash dependencies: jbrilha/mma7660: "^1.0.0" ``` - As a direct repository ```bash dependencies: mma7660: git: https://github.com/jbrilha/esp_mma7660.git ``` ## Supported devices Tested using the [Grove 3-axis Digital Accelerometer](https://wiki.seeedstudio.com/Grove-3-Axis_Digital_Accelerometer-1.5g/), on the following ESP devices: 1. M5Stack Core Basic 2. ESP32 3. ESP32-S3 4. ESP32-C6 ## Examples A simple example is present in the `examples` directory.
c18809029b3baf6a01ad49e98282e57bbab72adb
idf.py add-dependency "jbrilha/mma7660^1.0.2"