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

Added range and data_ready interrupt parameters #7

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

RoaCode
Copy link
Contributor

@RoaCode RoaCode commented Sep 12, 2024

This PR addresses 2 things:

  1. Range: - The ADXL375 starts up with a max range of 25g, but the datasheet does not really say anything about this. This adds range controls in the same manner as the ADXL345 with adjusted values. Using these controls will alleviate Issue 25g "limit" on ADXL375 #4.
  2. Data Ready interrupt: - The other interrupt schemes for the ADXL375 were already implemented, but this adds the Data Ready. Using the Data Ready interrupt is useful for precise timing of many samples at a fixed sample rate set by the sensor.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I'm not a fan of the events style but its good to be consistent with the 34x driver. I opened an issue to refactor them both here: adafruit/Adafruit_CircuitPython_ADXL34x#42

@tannewt tannewt merged commit 46b5969 into adafruit:main Sep 13, 2024
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 24, 2024
Updating https://github.com/adafruit/Adafruit_CircuitPython_ADXL37x to 1.2.0 from 1.1.9:
  > Merge pull request adafruit/Adafruit_CircuitPython_ADXL37x#7 from RoaCode/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_MIDI to 1.5.0 from 1.4.19:
  > Merge pull request adafruit/Adafruit_CircuitPython_MIDI#57 from matthewbadeau/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_PIOASM to 1.1.0 from 1.0.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#71 from adafruit/doc
  > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#68 from adafruit/rp2350
  > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#70 from adafruit/fix-rotaryencoder-example

Updating https://github.com/adafruit/Adafruit_CircuitPython_Register to 1.10.0 from 1.9.18:
  > Merge pull request adafruit/Adafruit_CircuitPython_Register#57 from mikeysklar/ds3231-alarm2-minute-status

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
@FoamyGuy FoamyGuy mentioned this pull request Nov 6, 2024
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.

2 participants