I'm looking into the .NET MF I2C API, and I'm getting a bit confused. There seem to be multiple ways to create an I2C transaction.
I can either use the I2CDevice.CreateReadTransaction met开发者_StackOverflow社区hod, or simply create a new I2CDevice.I2CReadTransaction object. I'm puzzled as to what the difference is. Both take the same number of arguments.
The CreateReadTransaction returns a I2CReadTransaction object. So the difference is that the CreateReadTransaction is a method and the other is a class object.
精彩评论