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

Full range APIs - new API on the LSM6 for setting ranges and getting SI values #2

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

acrandal
Copy link

@acrandal acrandal commented Mar 9, 2017

My updates to the LSM6 library adds three key things:

  1. The ability to set the accelerometer and gyroscope full range via function calls
  2. Member variables for storing SI units, with appropriate functions for calculating the values based on the currently set full range scales
  3. Example Arduino sketches to demonstrate these APIs to new users

Please consider merging these features into the master branch. Let me know if there's something you'd like to change about the structure of the APIs.

Sincerely,
Aaron Crandall

acrandal and others added 11 commits February 28, 2017 23:00
 * Created function: IMU::setAccScale( accScale scale )
 * Created enum: accScale
  * Gives defines for 2g, 4g, 8g, 16g options
  * Exposed to user via an include in LSM6.h
 * Currently only prints via Serial the decision, but doesn't do it yet
 * Compiles and runs otherwise
 * Also updated headers on files with copyright and contact information
…r the interfaces to query out the current sensor state in G and dps instead of absolute 16 bit values.
Add in SI m/s^2 calculation interface.
Lots of little tweaks to formatting and bits.
Added two Arduino sketches with examples of the scaling and SI unit use
Fixed major bug in SI unit calculations
Should be ready for checkin and fork merge
…FullRangeAPIs

Catching up with master before pull request.
@acrandal acrandal marked this pull request as draft February 27, 2021 01:56
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