SparkFun LSM6DS3 Arduino Library
This is an arduino IDE library to control the LSM6DS3. It can be configured to use I2C or SPI with 2 instances per I2C channel or any number of SPI instances. The top-level driver, class LSM6DS3, contains an inner driver LSM6DS3Core, a settings struct, and float-based math functions for conversion from raw to meaningful numbers.
This has been tested with Arduino Uno and Teensy 3.1 architectures.
- /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
- /extras - Contains class diagrams for the driver. Ignored by IDE.
- /src - Source files for the library (.cpp, .h).
- keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
- library.properties - General library properties for the Arduino package manager.
- FifoExample - Demonstrates using the built-in buffer to burst-collect data - Good demonstration of settings
- InterruptFreeFall - Embedded function demonstrating free-fall detection
- InterruptHWTapConfig - Embedded function demonstrating tap and double-tap detection
- LowLevelExample - Demonstrates using only the core driver without math and settings overhead
- MemoryPagingExample - Demonstrates switching between memory pages
- MinimalistExample - The easiest configuration
- MultiI2C - Using two LSM6DS3s over I2C
- MultiSPI - Using two LSM6DS3s over SPI
- Pedometer - Embedded function demonstrating step-counting feature
- Installing an Arduino Library Guide - Basic information on how to install an Arduino library.
- Product Repository - Main repository (including hardware files) for the LSM6DS3 Breakout.
- Hookup Guide - Basic hookup guide for the LSM6DS3 Breakout.
Products that use this Library
- SEN-13339- LSM6DS3 Breakout board
- V 1.0.0 -- Initial commit of Arduino 1.6-compatible library.
This product is open source!
Please review the LICENSE.md file for license information.
If you have any questions or concerns on licensing, please contact firstname.lastname@example.org.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.