Sorry for my noob question.
I am trying to connect an Adafruit accelerometer breakout board (MMA8451 Triple Axis Accelerometer) to a Spark Core.
In their nice tutorial Adafruit mention 2 libraries
I think the Spark uses an ARM vs Arduino’s regular Atmel chips, so the architectures and hence libraries are not directly portable.
I did also see that the Spark build environment now has a whole bunch of libraries that kind people already ported (thank you, kind people )
It appears there is a slightly older version of the Adafruit sensor library there already, but not the MMA8451 accelerometer library. I suspect porting the latter is not a beginners project, although I am willing to spend some time on it to try. Is there some documentation in “porting libraries from Arduino to Spark” ?
Additional complication (perhaps, I really don’t know anything about I2C): this accelerometer apparently requires I2C with repeated-start support. Does the Spark have that (otherwise no point porting the library obviously)
Alternatively, if someone has already done this for the MMA8451, could I invite you to share the result on the Spark library ports ?
Thank you in advance