nodeimu

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

Usage no npm install needed!

<script type="module">
  import nodeimu from 'https://cdn.skypack.dev/nodeimu';
</script>

README

nodeimu

NPM Version Linux Build

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.

Install

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

Test

node test.js
node testSync.js