10 years, 6 months ago.

code error

i have been working with MPU6050 and Mbed NXP LPC 1768 , it's been working well. then i've connected a second MPU 6050 but the code has been giving me a list of errors that i've used some funtions in multiple times. please can anyone tell me how to go about it.thanks

So post some simple code that gives you the error. Now we don't know which errors you get exactly, which code you are using, and which libraries you are using.

You should just be able to use multiple MPU objects. Don't include the .h files multiple times though (actually that shouldn't give errors I guess, but it also isn't needed). And use different names for the different MPUs.

posted by Erik - 12 Nov 2013
Be the first to answer this question.