When I use UnixI2cDevice.WriteRead(), the program random throw System.IO.IOException: Error performing I2c data transfer. Sometimes 10 calls occur, and sometimes one call occurs. Why?
Looks like you are still using an old version of the API by looking at the callstack. Have you tried instead using a newer version of the package? We recently shipped a new version to NuGet
In Raspberry Pi 3B+ with Raspbian.
When I use UnixI2cDevice.WriteRead(), the program random throw System.IO.IOException: Error performing I2c data transfer. Sometimes 10 calls occur, and sometimes one call occurs. Why?
My Read() Method
My Main() Method
My Terminal Log
True data
Then the error suddenly occurred.