Skip to content

frah/node-am2320

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-am2320

Module for reading the raw data from AM2320

Install

$ npm install am2320

Usage

var AM2320 = require('am2320');

var sensor = new AM2320();
sensor.readTemperature()
  .then(function(temp) {
    console.log('Temperature: ' + temp + ' degree');
  });
sensor.readHumidity()
  .then(function(hum) {
    console.log('Humidity: ' + hum + ' %');
  });

About

Module for reading the raw data from AM2320

Resources

License

Stars

Watchers

Forks

Packages

No packages published