5#include "SparkFunBME280.h"
Implementation of a Sensor for the BME280.
Definition BME280Sensor.h:11
BME280 bme
Definition BME280Sensor.h:13
String decodeToCSV(uint8_t *&packet) override
Used for onboard decoding of packets.
Definition BME280Sensor.cpp:68
BME280Sensor()
Construct a new Temp Sensor object with default minimum_period of 0 ms.
Definition BME280Sensor.cpp:10
String readData() override
Reads Relative Humidity (%), Pressure (Pa), Altitude (m), Temp (C) from the BME280.
Definition BME280Sensor.cpp:40
bool verify() override
Returns if sensor is connected and working.
Definition BME280Sensor.cpp:28
void readDataPacket(uint8_t *&packet) override
Used for creating packets, reads data from the sensor and appends it to the passed uint8_t array poin...
Definition BME280Sensor.cpp:48
Parent class for sensor objects.
Definition Sensor.h:13