new to ArduIMU v3 compile errors...

I am in the process of learning Arduino language and working to utilize the suggested programs in the forums while we wait for the ArduIMU v3 Driver to be released.  I am using Arduino 1.0 environment and am getting some compile errors that I have not been able to resolve.  They are likely due to my inexperience, can anyone point me to some solutions please?

3690912530?profile=originalin case you cannot read the error lines:

ArduIMU_v3_Euler:2: error: 'MPU6000_Class' does not nane a type

ArduIMU_v3_Euler:5: error: expected initializer before 'MPU'

ArduIMU_v3_Euler:6: error: expected constructor, destructor, or type conversion before ' . ' token

Thanks

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Looking at the code, I don't see that MPU6000 is a library..  it's just a bunch of routines... so your class statement is wrong.  And I don't see the MPU6000.h include.    Also, I have to use Arduino Software version 022 because they have not updated the code to 1.0 calls.     Where did you get this code?  If you send it to me, or post it here...  could test it for you to see what is required to get it to compile.

    Jesse

  • Developer

    Rich,

         I think you need some #includes at the top of that sketch.  There should be some example sketches somewhere which should have that.  I haven't actually looked at the code repository for that particular board..if you still have problems, could you post a link to where you found the code?

This reply was deleted.

Activity