LSM303D 3D Compass and Accelerometer


I’m trying to use the LSM303D as a navigation system, but I’m having trouble finding any libraries with source code. GitHub always directs me to the LSM6 library but I’ve tried it and it doesn’t work! I also tried the this library with no luck. It’d be awesome if someone could help me get started with this!

This is the library I use, and it works very well:


Hello, guava.

Jim provided the correct link to the GitHub page for our Arduino LSM303 library (which should work for our LSM303D products). In the future, you can find any Arduino libraries we have written for our products, along with other useful documentation and links, by looking under the “Resources” tab of the product page.