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.
Hi Klaus,
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:
https://community.nxp.com/docs/DOC-101192
Hope it helps!
Best Regards,
Carlos Mendoza
Technical 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.