[BME680 sensor board] error IAQ arduino MEGA2560
Hi, I'm having problem with default example, it wont compile without this missing file, can somebody lend me a link with a file?
#include "inc/bsec_datatypes.h"
thank you for the guide, although the issue still persist:
In file included from \Arduino\libraries\DFRobot_BME680/DFRobot_BME680.h:19:0,
from \Arduino\libraries\DFRobot_BME680/DFRobot_BME680_I2C.h:15,
from Local\Temp\.arduinoIDE-unsaved202427-30380-1bk7nms.0aap\IAQ_I2C\IAQ_I2C.ino:15:
\Arduino\libraries\DFRobot_BME680/bsec_integration.h:89:10: fatal error: inc/bsec_datatypes.h: No such file or directory
dizDFRobot's IAQ related code only adapts to the ESP8266, if you want to adapt to other controllers, you may need to refer to this link to do it yourself.
The following images are taken from the DFRobot wiki.
The IAQ related code needs to call the underlying library of the BME680 chip, which involves changing the platform.txt file of the SDK.
If you want to adapt other controllers, you may need to refer to the link at the bottom of the page to do it yourself, the BME680 chip is made by Bosch, and their libraries for this chip are a bit too cumbersome.
You need to modify the SDK for each controller/MCU.
https://github.com/boschsensortec/BSEC-Arduino-library?tab=readme-ov-file
This looks like an issue with the Arduino library, and we've notified the software department to fix it.
In the meantime, we found a way around it in the Github issue.
https://github.com/DFRobot/DFRobot_BME680/issues/22
Yeez_B