I2C - Bus master clock stretching
Posted: 21 May 2018 11:18
Hi,
can somebody tell me for Z-Uno I2C - Bus master clock stretching is supported?
Wire.setClockStretchLimit(1000); give me an error
"error: no member named 'setClockStretchLimit'"
Description about this clock stretching you can read here:
https://www.i2c-bus.org/i2c-primer/cloc ... bitration/
If not supported - is there a way to set this limit to 1 ms ?
(for ESP8266 as sample it is defined by default as 230us see
https://github.com/esp8266/Arduino/blob ... si2c.c#L74 )
I want to create library for AMS IAQ-Core (Indoor Air Quality Sensor Module) - here clock streching is required.
Want to be sure that the required value is available.
Thanks!
Michael
can somebody tell me for Z-Uno I2C - Bus master clock stretching is supported?
Wire.setClockStretchLimit(1000); give me an error
"error: no member named 'setClockStretchLimit'"
Description about this clock stretching you can read here:
https://www.i2c-bus.org/i2c-primer/cloc ... bitration/
If not supported - is there a way to set this limit to 1 ms ?
(for ESP8266 as sample it is defined by default as 230us see
https://github.com/esp8266/Arduino/blob ... si2c.c#L74 )
I want to create library for AMS IAQ-Core (Indoor Air Quality Sensor Module) - here clock streching is required.
Want to be sure that the required value is available.
Thanks!
Michael