Closed Bendikos closed 1 week ago
ESP_ERROR_CHECK(i2c_master_bus_add_device(I2C_PORT_NUM_0, &dev_cfg, &dev_handle));
I2C_PORT_NUM_0 应该改成 bus_handle
link
Answers checklist.
General issue report
ESP_ERROR_CHECK(i2c_master_bus_add_device(I2C_PORT_NUM_0, &dev_cfg, &dev_handle));
I2C_PORT_NUM_0 应该改成 bus_handle
link