nitrogen-bmp085

0.1.7 • Public • Published

nitrogen-bmp085

This module provides support for the BMP085 (discontinued but still in circulation) and BMP180 (its pin compatible replacement) temperature and pressure sensor chips.

How to use in your project

  1. npm install nitrogen-bmp085 or add to the package.json for the device application you are building.

  2. Configure the pin you'd like to control:

var config = {
    pin: 4  
};
  1. Create a GPIO pin device:
var GPIOPin = require('nitrogen-gpio-pin');
var gpioPin = new GPIOPin(config); 
gpioPin.set(0, function() {
    // success
});

Package Sidebar

Install

npm i nitrogen-bmp085

Weekly Downloads

1

Version

0.1.7

License

none

Last publish

Collaborators

  • tpark