https://github.com/walvi112/esp32_mma8451
Library for MMA8451 accelerometer sensor on ESP-IDF framework
https://github.com/walvi112/esp32_mma8451
c esp-idf mma8451
Last synced: 3 months ago
JSON representation
Library for MMA8451 accelerometer sensor on ESP-IDF framework
- Host: GitHub
- URL: https://github.com/walvi112/esp32_mma8451
- Owner: walvi112
- License: mit
- Created: 2024-11-29T10:25:43.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-21T08:46:46.000Z (4 months ago)
- Last Synced: 2025-03-21T09:33:00.785Z (4 months ago)
- Topics: c, esp-idf, mma8451
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Library for MMA8451 accelerometer sensor on ESP-IDF framework
* Configure the i2c master bus via i2c_new_master_bus() and add i2c device via i2c_master_bus_add_device(). Then pass the i2c_master_dev_handle_t into MMA8451_Init().
* Create MMA8451 struct and call MMA8451_Init function to initialize.