1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-23 08:45:22 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
099f3a4147 I2C bus reset with info to user
I2C slave might stil have something to send when ESP826 starts I2C, thus
keeping the bus stuck.
Happens e.g. when power failure/reset during transmission.
Thanks to work of drmpf there is a solution.
Implemented as separate method so as not to interfere with existing.
Usage:

Wire.begin();
if (Wire.status() != I2C_OK) Serial.writeln("Something wrong with I2C
bus that cannot be recovered. Perform power cycle or search for other
masters on bus.";
2016-05-26 12:53:48 +02:00
3f15903566 Configurable I2C clock stretching limit
Use Wire.setClockStretchLimit(limit)
limit is in uSeconds
2016-02-03 17:05:04 +01:00
f008806118 revert Wire::pins, mark as deprecated 2015-05-04 11:08:07 +08:00
fbec557ddb Importing my changes 2015-04-30 20:48:50 +03:00
79e0aa361a Update maintainer info 2015-03-27 12:18:06 +03:00
2521c1e907 Wire library with i2c master support 2014-12-09 10:11:42 +03:00