imxieyi / esp32-i2c-adxl345

An i2c adxl345 lib for esp32
17 stars 4 forks source link

ESP32 I2C ADXL345 Accelerometer Lib

Introduction

This is a i2c adxl345 lib designed for esp-idf. Currently there is no i2c lib in esp-idf repository, so I modified a lib from ESP8266 rtos sdk.

Usage

Please refer to esp32_i2c_adxl345_main.c.

Notice

I only tested GPIO4 and GPIO5. In theory other pins should also work with the same configurations.

Credits