Adafruit LSM6DS Sensors Library
Adafruit_LSM6DS3TRC.h
1 
18 #ifndef _ADAFRUIT_LSM6DS3TRC_H
19 #define _ADAFRUIT_LSM6DS3TRC_H
20 
21 #include "Adafruit_LSM6DS.h"
22 
23 #define LSM6DS3TRC_CHIP_ID 0x6A
24 
25 #define LSM6DS3TRC_MASTER_CONFIG 0x1A
26 
27 
32 public:
35 
36  void enableI2CMasterPullups(bool enable_pullups);
37  void enablePedometer(bool enable);
38 
39 private:
40  bool _init(int32_t sensor_id);
41 };
42 
43 #endif
void enablePedometer(bool enable)
Enables and disables the pedometer function.
Definition: Adafruit_LSM6DS3TRC.cpp:50
void enableI2CMasterPullups(bool enable_pullups)
Enables and disables the I2C master bus pulllups.
Definition: Adafruit_LSM6DS3TRC.cpp:71
Class that stores state and functions for interacting with the LSM6DS I2C Accel/Gyro.
Definition: Adafruit_LSM6DS.h:139
Adafruit_LSM6DS3TRC()
Instantiates a new LSM6DS3TRC class.
Definition: Adafruit_LSM6DS3TRC.cpp:18
Class that stores state and functions for interacting with the LSM6DS3TRC.
Definition: Adafruit_LSM6DS3TRC.h:31