Skip to content
rseetham edited this page Aug 17, 2014 · 4 revisions

Library for controlling accelerometer MMA7660 with the Beaglebone Black's I2C's pins.
This library can be used for tap detection, shake detection and orientation detection. Datasheet is available here


API

MMA7660(i2c_no)

Creates an instance of the class MMA7660 i2c_no can be 1 or 2 based on the i2c bus used

Clone this wiki locally