C# Class HA4IoT.Hardware.Pi2.Pi2GpioService

Inheritance: HA4IoT.Contracts.Services.ServiceBase, IPi2GpioService
Mostrar archivo Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
GetInput ( int number ) : IBinaryInput
GetOutput ( int number ) : IBinaryOutput
Pi2GpioService ( ITimerService timerService ) : System

Private Methods

Method Description
OpenPort ( int number, GpioPinDriveMode mode ) : Pi2Gpio
PollOpenInputPorts ( ) : void

Method Details

GetInput() public method

public GetInput ( int number ) : IBinaryInput
number int
return IBinaryInput

GetOutput() public method

public GetOutput ( int number ) : IBinaryOutput
number int
return IBinaryOutput

Pi2GpioService() public method

public Pi2GpioService ( ITimerService timerService ) : System
timerService ITimerService
return System