Package Exports
- @trbll/nodeimu
- @trbll/nodeimu/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@trbll/nodeimu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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