Skip to content

v2.0.3 #20

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

Merged
merged 36 commits into from
Jan 18, 2023
Merged

v2.0.3 #20

merged 36 commits into from
Jan 18, 2023

Conversation

PaulZC
Copy link
Contributor

@PaulZC PaulZC commented Jan 17, 2023

  • Changes the bitfield definitions in regs.h to LSB-first
  • Changes the methods in .cpp so they use the bitfields instead of hard-coded bit patterns
  • Corrects OR-ing of data into the registers, using the bitfields to set/clear
  • Corrects setRange ( see Bug in setRange #19 )
  • Improves getRawAccelData so it can read 8-bit buffer data as well as 16-bit
  • Adds getRawAccelRegisterData and getRawAccelBufferData allowing the data to be read faster if you already know if the buffer is being used and the data resolution

@PaulZC PaulZC requested a review from edspark January 17, 2023 14:28
@PaulZC PaulZC linked an issue Jan 17, 2023 that may be closed by this pull request
@PaulZC PaulZC merged commit 1ee93c0 into main Jan 18, 2023
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.

Bug in setRange
1 participant