Hi,
Im trying to test BME688 on a sparfun breakout board, using ESP32S3 XIAO board (a small form factor board from SeeedStudio). I was able to successfully use this sensor in BME680 mode, i.e. with no BSEC2 library. Now, im trying to run basic_config_state.ino sample using BSEC2 for coffee detection, but im getting "error code : -34" as soon as code compiled and loaded. Before this test, I was able to successfully run this sample on the Adafruit 8266 FUZZAH board with no issue.
The only modification i added for ESP32S3 is a definition for i2c:
int sda_pin = D4; // GPIO5 as I2C SDA
int scl_pin = D5; // GPIO6 as I2C SCL
...
void setup()
{
...
Wire.setPins(sda_pin, scl_pin); // Set the I2C pins before begin
Wire.begin();
...
}
Can you help me out with this problem?
thanks,