Adafruit BME280 Library
Public Member Functions | List of all members
Adafruit_BME280_Temp Class Reference

#include <Adafruit_BME280.h>

Inheritance diagram for Adafruit_BME280_Temp:

Public Member Functions

 Adafruit_BME280_Temp (Adafruit_BME280 *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 BME280's temperature sensor.
 

Detailed Description

Adafruit Unified Sensor interface for temperature component of BME280

Constructor & Destructor Documentation

◆ Adafruit_BME280_Temp()

Adafruit_BME280_Temp::Adafruit_BME280_Temp ( Adafruit_BME280 parent)
inline

Create an Adafruit_Sensor compatible object for the temp sensor.

Parameters
parentA pointer to the BME280 class

Member Function Documentation

◆ getEvent()

bool Adafruit_BME280_Temp::getEvent ( sensors_event_t *  event)

Gets the temperature as a standard sensor event.

Parameters
eventSensor event object that will be populated
Returns
True

The documentation for this class was generated from the following files: