@trbll/nodeimu

Native addon for accessing IMU/pressure/humidity/temperature sensors using RTIMULib2


Keywords
raspberry, pi, sense, hat, RTIMULib, IMU, pressure, humidity, temperature
License
BSD-2-Clause-FreeBSD
Install
npm install @trbll/nodeimu@1.0.2

Documentation

nodeimu

Nodejs bindings for accessing IMU/pressure/humidity/temperature data using RTIMULib2. The addon uses nodejs/nan. It has been tested on Sense HAT and on GrovePi+ for Raspberry Pi.

Note

This is a fork of rupnikj/nodeimu that updates dependencies for at least Node v12. The most recent version of the https://github.com/RTIMULib/RTIMULib2 repository is included in this repo for convenience (as of 2/18/2020).

Install

git clone https://github.com/trbll/nodeimu --recursive && cd nodeimu
npm install node-gyp -g
npm install

Test

node test.js
node testSync.js