• Using Puck.js :)
    Yeah so I've polled every address on the I2C bus - the only thing that responds is the humidity sensor. From this I can assume that there must be something wrong with the wiring to the accelerometer.
    I'm going to look further into the wiring here and let you know. For those interested in checking whether your sensor(s) can be contacted through I2C:

    let i2c = new I2C();
    i2c.setup({sda: D25, scl: D26}); 
    for (i=0; i<128; i++) {
      i2c.writeTo(i, 0x0F);
      console.log("I2C addr is: " + i + ", response: " + i2c.readFrom(i, 1)[0]);
    }
    
    
About

Avatar for user94249 @user94249 started