NICLA / bsec interrogation return only Zeros

Suite du sujet NICLA SENSE ME BSEC ZERO VALUES "comp_t", "comp_h", "comp_g""" :

I'm using the NICLA Board with Arduino Off line IDE .
I have the same problem with BSEC implementation :
Whatever the code I use ( ex this one :https://docs.arduino.cc/tutorials/nicla-sense-me/cheat-sheet#sensor-classes) or the one above from Ramsaran I get all "0-ed" values as output of bsec .

Even for the one provided by Ramsaran.

Bruno

This is my code

#include "Nicla_System.h"
#include "Arduino_BHY2.h"

SensorBSEC bsec(SENSOR_ID_BSEC);

void setup(){
  Serial.begin(115200);

  BHY2.begin();
  bsec.begin();
}

void loop(){
  static auto lastCheck = millis();
  BHY2.update();

  if (millis() - lastCheck >= 1000) {
    lastCheck = millis();
    Serial.println(String("BSEC info: ") + bsec.toString());
  }
}

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.