jbrilha/mma7660

1.0.2

Latest
uploaded 2 days ago
ESP MMA7660 I2C Driver

readme

# ESP MMA7660

[![Component Registry](https://components.espressif.com/components/jbrilha/mma7660/badge.svg)](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.

Links

Supports all targets

License: MIT

To add this component to your project, run:

idf.py add-dependency "jbrilha/mma7660^1.0.2"

or download archive

Stats

  • Archive size
    Archive size ~ 5.59 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

jbrilha/mma7660 version: 1.0.2
|