Xinyuan-LilyGO / T-Wristband

DIY Programmable Bracelet
311 stars 98 forks source link

'MPU9250' does not name a type #12

Closed bvandenberg closed 4 years ago

bvandenberg commented 4 years ago

When uploading the example program I get the following error. How to resolve? Thank you! 'MPU9250' does not name a type

image

cpetito commented 4 years ago

You need to have these other files in the sketch folder:

image

lewisxhe commented 4 years ago

As @cpetito said, you did not check the README carefully

UPocek commented 1 year ago

Try prefixing class declaration with bfs::

bfs::Mpu6500 mpu6500(&SPI, 2);

this works for me