Adafruit LSM6DS Sensors Library
Adafruit_LSM6DS3.h
Go to the documentation of this file.
1 
18 #ifndef _ADAFRUIT_LSM6DS3_H
19 #define _ADAFRUIT_LSM6DS3_H
20 
21 #include "Adafruit_LSM6DS.h"
22 
23 #define LSM6DS3_CHIP_ID 0x69
24 
25 #define LSM6DS3_MASTER_CONFIG 0x1A
26 
27 
32 public:
34  ~Adafruit_LSM6DS3(){};
35 
36  void enableI2CMasterPullups(bool enable_pullups);
37 
38 private:
39  bool _init(int32_t sensor_id);
40 };
41 
42 #endif
Class that stores state and functions for interacting with the LSM6DS3.
Definition: Adafruit_LSM6DS3.h:31
Adafruit_LSM6DS3()
Instantiates a new LSM6DS3 class.
Definition: Adafruit_LSM6DS3.cpp:18
void enableI2CMasterPullups(bool enable_pullups)
Enables and disables the I2C master bus pulllups.
Definition: Adafruit_LSM6DS3.cpp:44
Base class for use with LSM6DS series acclerometer gyro sensors from STMicroelectronics. DO NOT USE DIRECTLY. Specific sensor variants should be subclassed as needed.
Definition: Adafruit_LSM6DS.h:140