i2c_master_cmd_begin() fails
Posted: Wed Apr 08, 2020 3:57 pm
Hi
I am using the ESP32 function i2c_master_cmd_begin() as:
err = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
and every now and then this function returns -1 (which is an error).
Would there be a reason for this to happen?
thanks,
I am using the ESP32 function i2c_master_cmd_begin() as:
err = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
and every now and then this function returns -1 (which is an error).
Would there be a reason for this to happen?
thanks,