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 […]
Category: I2C
Get I2C Port Names
//Get I2C Port Name string AqsFilter = I2cDevice.GetDeviceSelector(); var dis = await DeviceInformation.FindAllAsync(AqsFilter); if (dis.Count > 0) System.Diagnostics.Debug.WriteLine(dis[0].Id);
RPi Using The I2C Interface
See the IO Pins page here for any extensions needed by Visual Studio and to enable the IO pins. Namespaces Initialise I2C Port For A Device Write Bytes Write Then Read Bytes Read Bytes Disposing Of A I2C Device Object