Adafruit MS8607 Library
Public Member Functions | List of all members
Adafruit_MS8607_Temp Class Reference

Adafruit Unified Sensor interface for the temperature sensor component of the MS8607. More...

#include <Adafruit_MS8607.h>

Inheritance diagram for Adafruit_MS8607_Temp:

Public Member Functions

 Adafruit_MS8607_Temp (Adafruit_MS8607 *parent)
 Create an Adafruit_Sensor compatible object for the temperature sensor. More...
 
bool getEvent (sensors_event_t *)
 Gets the temperature as a standard sensor event. More...
 
void getSensor (sensor_t *)
 Gets the sensor_t object describing the MS8607's tenperature sensor. More...
 

Detailed Description

Adafruit Unified Sensor interface for the temperature sensor component of the MS8607.

Constructor & Destructor Documentation

◆ Adafruit_MS8607_Temp()

Adafruit_MS8607_Temp::Adafruit_MS8607_Temp ( Adafruit_MS8607 parent)
inline

Create an Adafruit_Sensor compatible object for the temperature sensor.

Parameters
parentA pointer to the MS8607 class

Member Function Documentation

◆ getEvent()

bool Adafruit_MS8607_Temp::getEvent ( sensors_event_t *  event)

Gets the temperature as a standard sensor event.

Parameters
eventSensor event object that will be populated
Returns
true

◆ getSensor()

void Adafruit_MS8607_Temp::getSensor ( sensor_t *  sensor)

Gets the sensor_t object describing the MS8607's tenperature sensor.

Parameters
sensorThe sensor_t object to be populated

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