4#include "Adafruit_SHTC3.h"
Central location for pinout and config defines.
int attempt_number
Definition Device.h:19
Implementation of a Sensor for the SHTC3.
Definition SHTC3Sensor.h:12
float relative_humidity
Definition SHTC3Sensor.h:15
Adafruit_SHTC3 shtc3
Definition SHTC3Sensor.h:14
void readDataPacket(uint8_t *&packet) override
Copies data to the packet.
Definition SHTC3Sensor.cpp:53
bool verify() override
Returns if sensor is connected and working.
Definition SHTC3Sensor.cpp:28
String decodeToCSV(uint8_t *&packet) override
Decodes data from the packet.
Definition SHTC3Sensor.cpp:73
String readData() override
Reads temperature in Celcius and relative humidity in % from SHTC3.
Definition SHTC3Sensor.cpp:38
float getRelHum()
Getter for relative humidity.
Definition SHTC3Sensor.cpp:91
TwoWire * i2c_bus
Definition SHTC3Sensor.h:16
Parent class for sensor objects.
Definition Sensor.h:13
unsigned long minimum_period
Definition Sensor.h:15