• Hi @jameslouiz

    with the Espruino implementation for ESP8266 you can use I2C1, which is a c-code implementation of a I2C master

    I2C1.setup({ scl: NodeMCU.D2, sda: NodeMCU.D1 });
    
    // read
    I2C1.readFrom(address, quantity);
    // write
    I2C1.writeTo(address, data, ...);
    

    Maybe you like to check some modules using i2c to get a better understanding for I2C on this page.

    You can also try the Espruino servo motor module .

  • Thanks for your reply @MaBe, but when I use I2C1, I get a strange "NO ACK" error.

    Also, could the following be incorrect in any way?

About

Avatar for MaBe @MaBe started