bmp180-sensor

1.1.0 • Public • Published

BMP180-sensor

An Node.js module to interface a BMP085 and BMP180 temperature and pressure sensor with the Raspberry Pi

Installation

npm i bmp180-sensor

Usage

const bmp180 = require('bmp180-sensor')
 
async function readBmp180() {
    const sensor = await bmp180({
        address: 0x77,
        mode: 1,
    })
 
    const data = await sensor.read()
 
    console.log(data)
 
    await sensor.close()
}

Package Sidebar

Install

npm i bmp180-sensor

Weekly Downloads

57

Version

1.1.0

License

ISC

Unpacked Size

7.77 kB

Total Files

9

Last publish

Collaborators

  • saintedlama