Clock Stretching

I2C devices that use clock stretching Whilst the Raspberry Pi hardware will support clock stretching, it seems the software drivers do not currently. A possible hack is to slow down the I2C clock rate to give the slave devices more time so they don’t need to clock stretch, needs a search for suitable ways to […]

Read More

Using the I2C interface

  Enabling The I2C Port The I2C port needs to be enabled in Rasbian before it can be used. See here. Checking For Connected Devices Install the I2C tools (i2c-tools is a set of I²C programs that make it easy to debug I²C devices without having to write any code): sudo apt-get install i2c-tools sudo […]

Read More