#accelerometer #sensor #i2c #driver #embedded-hal-driver

no-std mma8452q

A platform agnostic driver to interface with the MMA8452Q 3-Axis Accelerometer via I2C [embedded-hal] and implements the [Accelerometer trait][trait] from the accelerometer crate. This chip can be found on Sparkfun’s MMA8452Q breakout board.

1 unstable release

0.1.0 Mar 12, 2020

#22 in #accelerometer

MIT license

14KB
326 lines


lib.rs:

A platform agnostic driver to interface with the MMA8452Q 3-Axis Accelerometer via I2C. embedded-hal and implements the Accelerometer trait from the accelerometer crate. This chip can be found on Sparkfun's MMA8452Q breakout board.

Dependencies

~660KB
~15K SLoC