You are reading a single comment by @Alexandr and its replies. Click here to read the full conversation.
  • Good day everyone! The problem with the sensor CCS811. Why is it not read CO2 readings and other data. What could be the matter?

    var i2c = new I2C();
    i2c.setup({ scl : D5, sda: D4 });
    var gas = require("CCS811").connectI2C(i2c);
    // wait for the sensor to be ready
    setInterval(function() {
    }, 3000);

    that's all I see

    function () {var e=0!=(this.r(a.STATUS,1)[0]&a.STATUS_DAT­A_READY),c=this.r(a.ALG_RESULT_DATA,4);r­eturn{eCO2:c[0]<<8|c[1],TVOC:c[2]<<8|c[3­],"new":e}}


Avatar for Alexandr @Alexandr started