SparkFun 9DOF Block for Edison Node.js Addon
This package is a wrapper for SparkFun 9DOF Block for Edison C++ Library.
In order to initalize the library in javaScript use:
var imulib = require('edison_imu');
var imu = new imulib.LSM9DS0(0x6B,0x1D);
var imuResult = imu.begin();
console.log('Chip id %x',imuResult);
The original c++ library and documentation may be found here
The code is released under GPL.
Distributed as-is; no warranty is given.