LPC1769 with ADXL345 using i2c

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

LPC1769 with ADXL345 using i2c

602 次查看
nus
Contributor I

Hi, everyone.

I am new to coding and am currently learning how to do so on micro-controllers using a LPC1769.

I am trying to connect an ADXL345 (CJMCU version) to the LPC1769 through i2c and test it out. However I can't seem to be able to find any examples on it.

The few discussion posts have lead to only dead links and I have tried to google for it using terms such as "adxl345 arm code, adxl345 lpc1769" and so on but to no avail.

Is there anyone who can point me in the right direction or are there samples around that I can review? I would like to eventually extend this to a falling detection device for the elderly if this helps.

Thank you very much and I apologise if this question has been answered before.

0 项奖励
回复
1 回复

516 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi nus,

You could use the i2c example that comes with the LPCOpen package as starting point for your application, you can download it from here:

LPCOpen Libraries and Examples|NXP 

And maybe the following post might be helpful for you:

Lpc1769 i2c adxl345 | www.LPCware.com 


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 项奖励
回复