Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
/ Adafruit_L3GD20 Public archive

Driver for Adafruit's L3GD20 I2C Gyroscope Breakout

Notifications You must be signed in to change notification settings

adafruit/Adafruit_L3GD20

Repository files navigation

Warning: Library Deprecated

This library is deprecated, and as of 17 October 2016 this library will no longer appear in the Arduino Library Manager. Any new projects should use the newer library available here: https://github.com/adafruit/Adafruit_L3GD20_U

L3GD20 Triple Axis Gyroscope

This is a library for the L3GD20 Adafruit Triple-Axis Gyro sensor

Designed specifically to work with the Adafruit L3GD20/L3GD20H Breakout ----> https://www.adafruit.com/products/1032

These sensors use I2C or SPI to communicate, 2 pins (I2C) or 4 pins (SPI) 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_L3GD20. Check that the Adafruit_L3GD20 folder contains Adafruit_L3GD20.cpp and Adafruit_L3GD20.h

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