Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the adxl345#2 #46

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

DhruvaG2000
Copy link
Contributor

An alternative to PR#45, this PR aims to add support for ADXL345 into the OpenEEW firmware code using ADXL345_WE library.

It will interface the ADXL345 sensor over I2C to the ESP32 and will use fifo to get the readings, so that existing code will not need much replacement/ modification.

@DhruvaG2000 DhruvaG2000 changed the title [WIP] Add support for the adxl345 [WIP] Add support for the adxl345#2 Jan 10, 2022
- moved the ADXL345 setup stuff into a dedicated startADXL345 function
- Now takes readings when fifo is full. The fifoFull interrupt comes on
  Pin 2

Signed-off-by: Dhruva Gole <[email protected]>
@DhruvaG2000 DhruvaG2000 marked this pull request as ready for review January 12, 2022 18:46
@DhruvaG2000 DhruvaG2000 changed the title [WIP] Add support for the adxl345#2 Add support for the adxl345#2 Jan 12, 2022
@DhruvaG2000
Copy link
Contributor Author

Fixes issue #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant