Skip to content

wangdong/AM2321

Repository files navigation

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(')');
}

Releases

No releases published

Packages

No packages published

Languages