Adafruit LSM6DS Sensors Library
|
#include <Adafruit_LSM6DS.h>
Public Member Functions | |
Adafruit_LSM6DS_Accelerometer (Adafruit_LSM6DS *parent) | |
Create an Adafruit_Sensor compatible object for the accelerometer sensor. More... | |
bool | getEvent (sensors_event_t *) |
Gets the accelerometer as a standard sensor event. More... | |
void | getSensor (sensor_t *) |
Gets the sensor_t data for the LSM6DS's accelerometer. | |
Adafruit Unified Sensor interface for accelerometer component of LSM6DS
|
inline |
Create an Adafruit_Sensor compatible object for the accelerometer sensor.
parent | A pointer to the LSM6DS class |
bool Adafruit_LSM6DS_Accelerometer::getEvent | ( | sensors_event_t * | event | ) |
Gets the accelerometer as a standard sensor event.
event | Sensor event object that will be populated |