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