Adafruit AM2320 Arduino Library
Classes | Macros
Adafruit_AM2320.h File Reference
#include <Adafruit_I2CDevice.h>
#include <Adafruit_Sensor.h>

Go to the source code of this file.

Classes

class  Adafruit_AM2320
 Class that stores state and functions for interacting with AM2320 Temperature & Humidity Unified Sensor. More...
 
class  Adafruit_AM2320::Temperature
 temperature sensor class More...
 
class  Adafruit_AM2320::Humidity
 humidity sensor class More...
 

Macros

#define AM2320_SENSOR_VERSION   1
 the sensor version
 
#define AM2320_CMD_READREG   0x03
 read register command
 
#define AM2320_REG_TEMP_H   0x02
 temp register address
 
#define AM2320_REG_HUM_H   0x00
 humidity register address
 

Detailed Description

This is a library for the AM2320 Temperature & Humidity Unified Sensor breakout board -—> https://www.adafruit.com/products/xxxx

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried for Adafruit Industries.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.