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});
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
1 Attachment
@SimonGAndrews started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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:
The error occurs when executing the espruino command:
The error text is :
1 Attachment