AM2321 sensor support for Arduino
C++ C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples/read_all
.gitignore
AM2321.cpp
AM2321.h
README.md
Weather.h
keywords.txt

README.md

AM2321

Example:

#include <AM2321.h>

void readByAM2321()
{
	AM2321 am2321;
	am2321.read();

    Serial.print("(");
    Serial.print(am2321.temperature/10.0);
    Serial.print(", ");
    Serial.print(am2321.humidity/10.0);
    Serial.println(')');
}