Adafruit MPU6050 Sensor Library
|
#include <Adafruit_MPU6050.h>
Public Member Functions | |
Adafruit_MPU6050_Gyro (Adafruit_MPU6050 *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 MPU6050's gyroscope sensor. | |
Adafruit Unified Sensor interface for gyro component of MPU6050
|
inline |
Create an Adafruit_Sensor compatible object for the gyro sensor.
parent | A pointer to the MPU6050 class |
bool Adafruit_MPU6050_Gyro::getEvent | ( | sensors_event_t * | event | ) |
Gets the gyroscope as a standard sensor event.
event | Sensor event object that will be populated |