ESPHome  1.15.2
Data Structures | Enumerations | Functions
esphome::shtcx Namespace Reference

Data Structures

class  SHTCXComponent
 This class implements support for the SHT3x-DIS family of temperature+humidity i2c sensors. More...
 

Enumerations

enum  SHTCXType { SHTCX_TYPE_SHTC3 = 0, SHTCX_TYPE_SHTC1, SHTCX_TYPE_UNKNOWN }
 

Functions

const char * to_string (SHTCXType type)
 
uint8_t sht_crc (uint8_t data1, uint8_t data2)
 

Enumeration Type Documentation

◆ SHTCXType

Enumerator
SHTCX_TYPE_SHTC3 
SHTCX_TYPE_SHTC1 
SHTCX_TYPE_UNKNOWN 

Definition at line 10 of file shtcx.h.

Function Documentation

◆ sht_crc()

uint8_t esphome::shtcx::sht_crc ( uint8_t  data1,
uint8_t  data2 
)

Definition at line 108 of file shtcx.cpp.

◆ to_string()

const char* esphome::shtcx::to_string ( SHTCXType  type)
inline

Definition at line 15 of file shtcx.cpp.