• Hi! Which Espruino board are you using? And do you have a link to the accelerometer breakout?

    I2C write error is usually because the chip isn't responding - so wrong address, or not wired up right.

    It may be that your breakout board doesn't have any pullup resistors on I2C so you could try adding some ~10k resistors to each of the 2 lines.

    Of course it's probably a combination of things, so after you added the pullups I'd try setting addr:0x18 as well in case it was the different address that was the issue.

About

Avatar for Gordon @Gordon started