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
-
npm install nitrogen-bmp085
or add to the package.json for the device application you are building. -
Configure the pin you'd like to control:
var config = {
pin: 4
};
- Create a GPIO pin device:
var GPIOPin = require('nitrogen-gpio-pin');
var gpioPin = new GPIOPin(config);
gpioPin.set(0, function() {
// success
});