BMI160-Arduino icon indicating copy to clipboard operation
BMI160-Arduino copied to clipboard

Misisng eiaextensions.h

Open Lukas-Sturm opened this issue 4 years ago • 3 comments

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) ?

Lukas-Sturm avatar Nov 18 '20 16:11 Lukas-Sturm

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.

bastian2001 avatar Jun 28 '21 23:06 bastian2001

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 .

Lukas-Sturm avatar Jun 29 '21 07:06 Lukas-Sturm

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

bastian2001 avatar Jun 29 '21 11:06 bastian2001