this might be a silly question, but where can I find documentation for what the different values for esp_err_t means?
I'm playing around with I2C, and when I do this;
Code: Select all
portBASE_TYPE timeout = 500 / portTICK_PERIOD_MS;
error = i2c_master_cmd_begin(I2C_NUM_0, cmd, timeout);
if (error == 0) //Device responded
{
printf("Temperature: ??\n");
}
else
{
printf("ERROR: %d\n", error);
}