Basic I2C functionality of the MMA8452Q Accelerometer Breakout
Sensor has user selectable scales of 2g/4g/8g, as well as low power mode, and 12 bit resolution.
Maintainer: SparkFun Electronics
This library is compatible with all architectures so you should be able to use it on all the Arduino boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.