C# Class HA4IoT.Hardware.I2CDeviceWrapper

Inheritance: II2CDevice
Show file Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
I2CDeviceWrapper ( Windows.Devices.I2c.I2cDevice i2cDevice ) : System
Read ( byte readBuffer ) : void
Write ( byte writeBuffer ) : void
WriteRead ( byte writeBuffer, byte readBuffer ) : void

Method Details

I2CDeviceWrapper() public method

public I2CDeviceWrapper ( Windows.Devices.I2c.I2cDevice i2cDevice ) : System
i2cDevice Windows.Devices.I2c.I2cDevice
return System

Read() public method

public Read ( byte readBuffer ) : void
readBuffer byte
return void

Write() public method

public Write ( byte writeBuffer ) : void
writeBuffer byte
return void

WriteRead() public method

public WriteRead ( byte writeBuffer, byte readBuffer ) : void
writeBuffer byte
readBuffer byte
return void