Execute() private method

Executes the specified transaction.
private Execute ( int deviceAddress, Raspberry.IO.InterIntegratedCircuit.I2cTransaction transaction ) : void
deviceAddress int The address of the device.
transaction Raspberry.IO.InterIntegratedCircuit.I2cTransaction The transaction.
return void
コード例 #1
0
        /// <summary>
        /// Executes the specified transaction.
        /// </summary>
        /// <param name="transaction">The transaction.</param>
        public void Execute(I2cTransaction transaction)
        {
            if (transaction == null)
            {
                throw new ArgumentNullException("transaction");
            }

            driver.Execute(deviceAddress, transaction);
        }