Hello,
We are trying BHI260AP's code. I found code this site https://github.com/BoschSensortec/BHY2-Sensor-API. But We don't know how we can run the code. Can you be helpful ?
Solved! Go to Solution.
Hi uuranbey,
Yes, the github url is for the BHI260AP.
You need to modify interface part for your system.
https://github.com/BoschSensortec/BHY2-Sensor-API/blob/master/examples/common/common.c
Below functions are coded for COINES which is our EVM platform, so you need to change interface code.
bhy2_spi_read, bhy2_spi_write, bhy2_i2c_read, bhy2_i2c_write
Once you can communicate it with BHI260 properly, you can use example code.
Thanks,
Hello,
We are trying to compile the sample code on github using segger embedded studio. However, we are getting the error that the usb.h library could not be found. Which compiler should we use to run the code on Github? The processor we use is NRF52840 and we are working in windows environment. Can you help me?