An updated, basic library to interface with the HTU21D digital temperature and humidity sensor

Dependents:   HTU21D_HELLOWORLD HTU21D-F_Nucleo_F411RE Bicycl_Computer_NUCLEO-F411RE Bicycl_Computer_NUCLEO-L476RG ... more

Fork of HTU21D by Alan Lai

Embed: (wiki syntax)

« Back to documentation index

HTU21D Class Reference

HTU21D Class Reference

Honeywell HTU21D digital humidity and temperature sensor. More...

#include <HTU21D.h>

Public Member Functions

 HTU21D (PinName sda, PinName scl)
 Constructor.

Detailed Description

Honeywell HTU21D digital humidity and temperature sensor.

Definition at line 52 of file HTU21D.h.


Constructor & Destructor Documentation

HTU21D ( PinName  sda,
PinName  scl 
)

Constructor.

Includes.

Parameters:
sdambed pin to use for SDA line of I2C interface.
sclmbed pin to use for SCL line of I2C interface.
Author:
Alex Lipford Georgia Institute of Technology ECE 4180 Embeded Systems Design Professor Hamblen 10/19/2014

LICENSE

---------------------------------------------------------------------------- "THE BEER-WARE LICENSE" (Revision 42): <alexlipford@gmail.com> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. ----------------------------------------------------------------------------

DESCRIPTION

HTU21D Humidity and Temperature sensor.

Datasheet, specs, and information:

https://www.sparkfun.com/products/12064

Definition at line 31 of file HTU21D.cpp.