Hi markus,
Thank you for answering,
Yes i have a logic analyzer, here are the screenshots with the code i quoted in my last post:
https://img4.hostingpics.net/thumbs/mini_860728screenlogic2.png
https://img4.hostingpics.net/thumbs/mini_429421screenlogic3.png
https://img4.hostingpics.net/thumbs ...
Search found 2 matches
- Mon Jul 31, 2017 8:25 am
- Forum: General Discussion
- Topic: Problem reading I2C sensor
- Replies: 11
- Views: 24335
- Thu Jul 27, 2017 4:50 pm
- Forum: General Discussion
- Topic: Problem reading I2C sensor
- Replies: 11
- Views: 24335
Re: Problem reading I2C sensor
Hello guys,
i am having exactly the same problem with the same sensor.
i have made the recommended changes from Markus (changing i2c driver timeout to 10ms):
File : esp-idf/components/driver/i2c.c
From :
//set timeout of receving data
I2C[i2c_num]->timeout.tout = 200000;
To :
//set timeout of ...
i am having exactly the same problem with the same sensor.
i have made the recommended changes from Markus (changing i2c driver timeout to 10ms):
File : esp-idf/components/driver/i2c.c
From :
//set timeout of receving data
I2C[i2c_num]->timeout.tout = 200000;
To :
//set timeout of ...