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