public AbstractI2CDevice(ushort address, int clockRate, int timeout) // : base(new Configuration(address, clockRate)) { myConfig = new I2CDevice.Configuration(address, clockRate); Timeout = timeout; I2CBus.SetConfig(myConfig); }
public int Write(I2CDevice.I2CTransaction[] xActions, int timeout) { I2CBus.SetConfig(myConfig); return(I2CBus.Execute(xActions, timeout)); }