Help me connect an external library (.c and .h) to project. For example: https://github.com/Harinadha/STM32_MPU6050lib
Where I should to put this files? Thanks!
A place to share, learn, and grow...
That library isn't going to work because it relies on other STM HAL libraries for I2C which libmaple doesn't use.
Find an Arduino library for the MPU6050 and use that instead.
As this thread is not very active, you may find more responses if you post to the Arduino forum thread http://forum.arduino.cc/index.php?topic=265904.0 which is for STM32 devices using the Arduino IDE
>> Find an Arduino library for the MPU6050 and use that instead.
I'm a beginner, but I think that it will not works . Can you give me an example, any small example. Because I found this: https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050 , and I don't have any sure that this will works on maple mini. Arduino is not ARM... This is correct? Or.. or don't understand you. Give me a little tip please. How to use an external library with Arduino IDE (for stm32).
Most Arduino libraries are not platform specific, although quite a lot are.
I2cdev does work with Arduino_stm32 but I'm not sure about the MPU6050 but I think it works
However you are not lightly to get quick answers on this forum as hardly any one reads it .
Register on the official Arduino forum and post to the thread I put into my previous posting.
You must log in to post.