> I am looking for a python library to manipulate the readings
> from the Accelerometer (MMA8452Q)
>
> I saw some coding to connect the MMA8452Q and that was not in python
Just did a quick google, and this thread:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=35306
suggests that the chip you've chosen has compatibility problems with
the RPi's I2C controller, although it looks like someone's managed to
come up with a workaround:
http://raspberry.znix.com/2013/03/i2c-repeated-start-for-all.html
But in general, most I2C devices are designed for embedded devices &
microcontrollers (i.e. programs written in C or assembler), so unless
it's a *very* popular device, you're unlikely to find python example
code for a particular I2C device. Always best to do a bit of google
research and/or datasheet reading before purchasing :)
Andrew