-
Notifications
You must be signed in to change notification settings - Fork 196
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
Visualize101.ino: Simplify sensor reading #16
base: master
Are you sure you want to change the base?
Conversation
arduino/ArduinoCore-arc32#317 has been merged, this can also be merged now. |
Has this new 101 core been released to the boards manager downloads? If it's only been merged on github, but not yet officially released via the boards manger, then updating this library could break things for 101 users. With this in mind, just tell me when you want it merged. They're your users.... |
Good point @PaulStoffregen-- I was not thinking straight on Friday. So don't merge yet- I'll let you know when our next release is available from the IDE library manager (currently it is not). |
Updated to use readAccelerometerScaled, and readGyroScaled, which greatly simplifies the example (manual conversion no longer required). |
CurieIMU now has dataReady() functions to check for newly available accel/gyro data, and also readAccelerometer/GyroScaled(), which reads then sensor and returns values scaled according to the configured range. Using these functions in the Visualize101 example makes the source much simpler
8c9831a
to
076ce2b
Compare
|
CurieIMU now has dataReady() functions to check for newly available
accel/gyro data, and also readAccelerometer/GyroScaled(), which reads
then sensor and returns values scaled according to the configured range.
Using these functions in the Visualize101 example makes the source much
simpler