0.1.3 • Published 6 years ago

ds1621 v0.1.3

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

node-ds1621

NPM version Downloads Donate

Node.js module for DS1621 temperature sensor

Tested on Raspberry Pi B+

Installation

$ npm install ds1621

Usage

var ds1621 = require('ds1621.js'),
	sensor = new ds1621({device:'/dev/i2c-1'});

sensor.getHighPrecTemp(function(temperature) {
	console.log('Temperature: ' + temperature + '°C');
	process.exit();
});

Run, the example:

$ sudo node example.js

Please note: You must run this in root account.

Testing

Install mocha, then type

$ sudo mocha

Donations

  • PayPal: https://paypal.me/gyengus
  • Bitcoin: 1QJzLBK9uQP4RthmKJRQwy3v5sd4XS4S7P
  • Ethereum: 0x2bD68120A56acBf6Dbd11da2060228b8912C1e3C
0.1.3

6 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

1.0.0

9 years ago