Hello, I am trying to get raw data from the BME688 sensor on a Sparkfun board on the Arduino MRK WiFi 1010 board using Arduino IDE 2.0.3 and I2C protocol. I have installed both BME68x and BSEC2 from GitHub. I am not sure if I actually need BSEC2 if I only neet raw data and not iaq. I can compile and upload the parallel_mode, sequential_mode and forced_mode examples and I get the same error in the Serial monitor: Sensor error:Communication failure I guess that the error comes from the code below: #ifndef PIN_CS #define PIN_CS SS #endif /* initializes the sensor based on SPI library */ bme.begin(PIN_CS, Wire); I modified the line: " bme.begin(PIN_CS, SPI); " to " bme.begin(PIN_CS, Wire); " such that I2C protocol is used instead of SPI. Any help please? Many thanks!
... View more