JSPM

@trbll/nodeimu

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q37676F
  • License BSD-2-Clause-FreeBSD

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

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