Skip to content
Driver for Adafruit's L3GD20 I2C Gyroscope Breakout
C++ Arduino
Find file
Latest commit 5612ee4 May 11, 2015 @driverblock driverblock Fix bug when running with Due
Apparently a compiler bug. Forcing to int16_t before converting to
float fixes the problem.

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

Designed specifically to work with the Adafruit L3GD20/L3GD20H Breakout ---->

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.

Something went wrong with that request. Please try again.