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