- Starts with @tannewt's changes. - Make sure proper component is being compiled. - Added `I2C.probe()` as a visible new method. This was a hidden common-hal method, but the C version of adafruit_bus_device could not use it because it needs to call probe via a Python method call. So make it visible. It's useful, and `I2C.scan()` could be phased out, since now `.scan()` can be implemented in Python with `.probe()`. - set clock-stretching timeout on espressif to a minimum of 1 second. In all impls of busio.I2C()`, the timeout is ignored and is set to a fixed 1 second. @tannewt's new code was using the passed-in value, which was often too short. To do: - switch esp-camera to new-driver version. We have to use the same I2C driver everywhere. - Check about I2CTarget. |
||
|---|---|---|
| .. | ||
| i2c_device | ||
| spi_device | ||
| __init__.c | ||