Jump to content
43oh

[Energia Library] LM4F MPU6050 Library


Recommended Posts

  • 3 months later...

@@michael_s

I try coonect my msp430 to mpu6050 but have some problems:

1. I can't see wich pins used to connect to mpu6050 at the photo which you publish

2. When I try compile source code (Energia 0101E0009) I have Error compiling: 

 
sketch_mar27a.cpp:3:20: fatal error: I2Cdev.h: No such file or directory
compilation terminated.
 
Help me please!
Link to post
Share on other sites
  • 2 months later...
  • 2 weeks later...

 

@@michael_s

I try coonect my msp430 to mpu6050 but have some problems:

1. I can't see wich pins used to connect to mpu6050 at the photo which you publish

2. When I try compile source code (Energia 0101E0009) I have Error compiling: 

 
sketch_mar27a.cpp:3:20: fatal error: I2Cdev.h: No such file or directory
compilation terminated.
 
Help me please!

 

You need to extract libraryies from archive https://launchpad-stellaris-energia.googlecode.com/files/libraries.zip to your libraries folder of your stellaris launchpad energia ide.

Link to post
Share on other sites
  • 1 month later...
  • 3 months later...
  • 3 months later...
  • 1 month later...

Hello all ! 

If some one need code example how to work with MPU6050 check this 

 

I appreciate your works, but I got a problem with the avr/pgmspace.h when applying this code to my msp430g2553 via energia. As far as I know, avr/pgmspace.h belongs to arduino ide's set up folder. I am tired of looking for avr/pgmspace.h file on the Internet. Could you please help me to figure it out?

Link to post
Share on other sites

I appreciate your works, but I got a problem with the avr/pgmspace.h when applying this code to my msp430g2553 via energia. As far as I know, avr/pgmspace.h belongs to arduino ide's set up folder. I am tired of looking for avr/pgmspace.h file on the Internet. Could you please help me to figure it out?

It won't be necessary on the MSP430 platform and there's a high probability that library will need careful effort porting it to get it out of the paradigm of Atmel AVR's PROGMEM & pgm_* API and into the world of declaring in-flash data as "const" along with using direct C references against the data.

(One very important reason I don't play with Arduino and Atmel AVR anymore...)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...