I’m looking into the 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 static I2CDevice.CreateReadTransaction method ( http://msdn.microsoft.com/en-us/library/ee432174.aspx ), or create a new I2CDevice.I2CReadTransaction object ( http://msdn.microsoft.com/en-us/library/ee434124.aspx ). I’m puzzled as to what the difference is. Both take the same number of arguments.
I asked this on StackOverflow as well, but got no response: http://stackoverflow.com/q/6138853/102441
Which should I use, and why?