node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

mma8452q

Library to run the MMA8452Q accelerometer.

MMA8452Q accelerometer driver

Install:

npm install mmq8452q

Import:

var mma8452q = require('mma8452q');

Functions:

  • mma8452q.initialize()

  • mma8452q.getAcceleration() returns [x, y, z]

MIT