C# Class GHIElectronics.UAP.Gadgeteer.Modules.Button

Inheritance: Module
ファイルを表示 Open project: amykatenicho/IoTWorkshop Class Usage Examples

Public Methods

Method Description
IsPressed ( ) : bool
SetLed ( bool state ) : void
TurnOffLed ( ) : void
TurnOnLed ( ) : void

Protected Methods

Method Description
Initialize ( ISocket parentSocket ) : System.Threading.Tasks.Task

Method Details

Initialize() protected method

protected Initialize ( ISocket parentSocket ) : System.Threading.Tasks.Task
parentSocket ISocket
return System.Threading.Tasks.Task

IsPressed() public method

public IsPressed ( ) : bool
return bool

SetLed() public method

public SetLed ( bool state ) : void
state bool
return void

TurnOffLed() public method

public TurnOffLed ( ) : void
return void

TurnOnLed() public method

public TurnOnLed ( ) : void
return void