Skip to content
Driver for Adafruit's LSM303DLHC breakout
Find file
Latest commit be46cb8 @ladyada ladyada Merge pull request #5 from frnhr/master
Don't print "Wire"


This is a library for the Adafruit triple-axis accelerometer/magnetometer LSM303DLHC breakout

Designed specifically to work with the Adafruit LSM303 Breakout ---->

These displays use I2C to communicate, 2 pins are required to interface Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Check out the links above for our tutorials and wiring diagrams

Written by Kevin Townsend for Adafruit Industries.
BSD license, all text above must be included in any redistribution

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_LSM303. Check that the Adafruit_LSM303 folder contains Adafruit_LSM303.cpp and Adafruit_LSM303.h

Place the Adafruit_LSM303 library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.

Something went wrong with that request. Please try again.