Adafruit LIS331 Arduino Driver
Classes | Macros | Enumerations
Adafruit_LIS331HH.h File Reference
#include "Adafruit_LIS331.h"

Go to the source code of this file.

Classes

class  Adafruit_LIS331HH
 Class that stores state and functions for interacting with Adafruit_LIS331HH. More...
 

Macros

#define LIS331HH_DEFAULT_ADDRESS   (0x18)
 

Enumerations

enum  lis331hh_range_t { LIS331HH_RANGE_6_G = 0x0, LIS331HH_RANGE_12_G = 0x1, LIS331HH_RANGE_24_G = 0x03 }
 

Detailed Description

This is a library for the Adafruit LIS331HH Accel breakout board

Designed specifically to work with the Adafruit LIS331HH Triple-Axis Accelerometer (+-6g/12g/24g)

This sensor communicates over I2C or SPI (our library code supports both) so you can share it with a bunch of other sensors on the same I2C bus.

Adafruit invests time and resources providing this open source code, please support Adafruit andopen-source hardware by purchasing products from Adafruit!

Bryan Siepert for Adafruit Industries BSD license, all text above must be included in any redistribution

Macro Definition Documentation

◆ LIS331HH_DEFAULT_ADDRESS

#define LIS331HH_DEFAULT_ADDRESS   (0x18)

I2C ADDRESS/BITS

Enumeration Type Documentation

◆ lis331hh_range_t

A structure to represent scales

Enumerator
LIS331HH_RANGE_6_G 

+/- 6G

LIS331HH_RANGE_12_G 

+/- 12G

LIS331HH_RANGE_24_G 

+/- 24Gvalue)