LPCXpresso54608 accelerometer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPCXpresso54608 accelerometer

1,149 次查看
klausrenner
Contributor II

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.

2 回复数

982 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

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

982 次查看
klausrenner
Contributor II

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.

0 项奖励
回复