Looking for a driver and example code to use the on board Accelerometer. Is one available? I don't see anything in the SDK or elsewhere.
The MCUXpresso SDK package does not come with an example using the MMA8652FCR1 accelerometer but you can use the following document as base for your application, you will just need to change the I2C driver and initialization code to use the SDK drivers:
MMA8652FC - Bare metal example project
Hope it helps!
Best Regards,Carlos MendozaTechnical Support Engineer
Thanks very much! I've been meaning to get on this but am now distracted with other work. I downloaded the example project and see that it'll be very helpful.
Retrieving data ...