hanyazou / BMI160-Arduino

76 stars 35 forks source link

Misisng eiaextensions.h #13

Open Lukas-Sturm opened 3 years ago

Lukas-Sturm commented 3 years ago

Hi, this might be a stupid question.

I am using PlatformIO and when I try to build. I am missing the eiaextensions.h In the Arduino Web IDE it builds as expected. I found that the eiaextensions.h comes from some Drivers for the Curie board. https://github.com/arduino/ArduinoCore-arc32 https://github.com/arduino/ArduinoCore-arc32/blob/master/system/libarc32_arduino101/drivers/eiaextensions.h

Is this library supposed to work for Arduino ? And what does the eiaextensions.h do? It seems to be some binding to some external function (with all the external definitions) ?

bastian2001 commented 3 years ago

Hi Lukas, have you found a solution? Haven't really found another working library for the BMI160 over SPI so far and it seems like I'm too stupid to do the SPI stuff myself.

Lukas-Sturm commented 3 years ago

Sadly not I just ended up looking at the source code and copied the bits I needed. You can also look at the Datasheet it's also quite helpfull.

Hope that helps you :)

bastian2001 @.***> schrieb am Di., 29. Juni 2021, 01:22:

Hi Lukas, have you found a solution? Haven't really found another working library for the BMI160 over SPI so far and it seems like I'm too stupid to do the SPI stuff myself.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hanyazou/BMI160-Arduino/issues/13#issuecomment-870111532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOCESXWOFNIWK37BMKVJ73TVD7Z3ANCNFSM4T2FID5Q .

bastian2001 commented 3 years ago

Thanks for your reply, I forked this library and fixed the issues for me. I don't know if a pull request is correct with the limited testing I've done. Also, I just copied and pasted files, some might be obsolete, idk. But it works :) https://github.com/bastian2001/BMI160-Arduino-1