C# Class HA4IoT.Hardware.BuiltInI2CBusService

Inheritance: HA4IoT.Contracts.Services.ServiceBase, II2CBusService
显示文件 Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
BuiltInI2CBusService ( ) : System
Execute ( I2CSlaveAddress address, Action action, bool useCache = true ) : void

Private Methods

Method Description
GetI2CDevice ( int address, bool useCache ) : Windows.Devices.I2c.I2cDevice

Method Details

BuiltInI2CBusService() public method

public BuiltInI2CBusService ( ) : System
return System

Execute() public method

public Execute ( I2CSlaveAddress address, Action action, bool useCache = true ) : void
address HA4IoT.Contracts.Hardware.I2CSlaveAddress
action Action
useCache bool
return void