-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Visualize101.ino: Simplify sensor reading
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
- Loading branch information
1 parent
70fd2c9
commit 076ce2b
Showing
1 changed file
with
3 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters