wollewald / MPU9250_WE

An Arduino library for the 9-axis accelerometer, gyroscope and magnetometer MPU9250 and MPU6500. It contains many example sketches make it easy to use.
https://wolles-elektronikkiste.de/en/mpu9250-9-axis-sensor-module-part-1
MIT License
60 stars 26 forks source link

MPU9250 object error: "Does not name a type". #12

Closed nathaliapaz closed 2 years ago

nathaliapaz commented 2 years ago

I'm using the library as the examples code, but I'm having problems with the created object for the sensor. An error "Does not name a type" persists even when I alredy put all the available archives .cpp and .h in the project folder. The firsts code lines are exactly same as the examples.