• @alexanderbrevig Board arrived this evening so hooked up to Espruino and got code loaded. Think it was right on flash code limit as was reporting out of memory while loading it. But minifying the module solved that.

    Comms over I2C confirmed and can dump out the bme280 object structure and am getting compensation values back from the chip.

    Got a few errors:

    Line 290

    var data[8];
    

    throws an error and I think should be:

    var data = [];
    

    Line 380:

    this.writeRegister(C.regCtrlMeas, C.ctrlMeas);
    

    I think should be:

    this.writeRegister(C.regCtrlMeas, ctrlMeas);
    

    Line 10

    regMeasurementsStart: 0xf,
    

    should that be:

    regMeasurementsStart: 0xf7,
    

    Will crack on running tests in the morning but for now I'm off to bed.

    Cheers

    Ian

About

Avatar for IanWatkins @IanWatkins started