I am trying to use python to read data from mma7455
currently this is the code I am using but I am always getting 0s.
import mraa as m
x = m.Spi(0)
but I am getting zeros on all accelerometer data.
Are you using an Arduino expansion board or a mini breakout board? Another customer is also trying to use the mma7455 sensor. He has run tests in I2C and SPI. He has also tried several boards and environments. Keep an eye on in case any progress is made on this thread.
What image and mraa versions are you using?
opkg info libmraa0
The following code gives me 0L. The same thing when I was working with I2C.