-deleted-
11 years ago.

problem regarding accelerometer interfacing with nxp lpc 1768?

i bought the mbed application board.do i need to buy an accelerometer and interface it or does the application board allready contain the accelerometer??what connections should i make if i need to connect??? when i run this code /media/uploads/samathakolagatla/code_accerometer.txt i am geting errors plzz help me..solve the errors...

2 Answers

11 years ago.

The board has the accelerometer, you can start at the helloworld program given on the cookbook page: http://mbed.org/cookbook/MMA7660-Accelerometer

11 years ago.

Here is the cookbook page for ALL the devices on the mbed Application Board: http://mbed.org/cookbook/mbed-application-board - they are already wired up to the mbed socket.

i am geting few errors when i am running this code ...can anyone please run the code and check the errors...and please solve the errors in this code please.....https://mbed.org/media/uploads/samathakolagatla/code_accelerometer.txt...

posted by -deleted- 22 Apr 2013

Your code includes a class called MMA7660 copied from the header file for no reason, just delete that.

posted by Bob Stone 22 Apr 2013