You are reading a single comment by @SimonGAndrews and its replies. Click here to read the full conversation.
  • An error occurs using espruino in the ESP32-C3 IDF 4 build. when setting up the i2C. In more detail: When building with the command line:

    BOARD=ESP32C3_IDF4 DEBUG=1 make flash BINDIR=.
    

    The error occurs when executing the espruino command:

    I2C1.setup({scl:D9,sda:D8});
    

    The error text is :

    i2c: i2c_param_config(684): i2c clock choice is invalid, please check
    flag and frequency

    Uncaught Error: jshI2CSetup: Invalid arguments at line 1 col 27

    I2C1.setup({scl:D9,sda:D8});


    1 Attachment

    • i2C Error.png
About