Adafruit HTU21D-F Arduino Library
Classes | Macros
Adafruit_HTU21DF.h File Reference
#include <Adafruit_BusIO_Register.h>
#include <Adafruit_I2CDevice.h>

Go to the source code of this file.

Classes

class  Adafruit_HTU21DF
 

Macros

#define HTU21DF_I2CADDR   (0x40)
 
#define HTU21DF_READTEMP   (0xE3)
 
#define HTU21DF_READHUM   (0xE5)
 
#define HTU21DF_WRITEREG   (0xE6)
 
#define HTU21DF_READREG   (0xE7)
 
#define HTU21DF_RESET   (0xFE)
 

Macro Definition Documentation

◆ HTU21DF_I2CADDR

#define HTU21DF_I2CADDR   (0x40)

Default I2C address for the HTU21D.

◆ HTU21DF_READTEMP

#define HTU21DF_READTEMP   (0xE3)

Read temperature register.

◆ HTU21DF_READHUM

#define HTU21DF_READHUM   (0xE5)

Read humidity register.

◆ HTU21DF_WRITEREG

#define HTU21DF_WRITEREG   (0xE6)

Write register command.

◆ HTU21DF_READREG

#define HTU21DF_READREG   (0xE7)

Read register command.

◆ HTU21DF_RESET

#define HTU21DF_RESET   (0xFE)

Reset command.