Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saintedlama/bmp180-sensor

An Node.js module to interface a BMP085 and BMP180 temperature and pressure sensor with the Raspberry Pi
https://github.com/saintedlama/bmp180-sensor

Last synced: 15 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# BMP180-sensor

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

## Installation

```bash
npm i bmp180-sensor
```

## Usage

```js
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()
}
```