• each number is a i2c address of a device. Looks like you have two devices attached to this bus, a device with address 64 and another with 112.

    Use this address as first parameter for writeTo and readFrom.

    The code above is using Espruino i2c software solution and is talking to a device address 0x40 which is 64 decimal.

    Looks like you are not using this.read() eg in line 48 and this.write() eg in line 53 in the code. changing this in all lines might solve the issue.

About

Avatar for MaBe @MaBe started