C# Class ArduinoTest.Components.DioderConnection

Manages operations surrounding the Ikea Dioder
Inheritance: IDioderConnection
Datei anzeigen Open project: holymoo/Disposition

Public Methods

Method Description
Close ( ) : void

Closes the connection to the Dioder device

DioderConnection ( ) : System.Text

ctor

DisplayColor ( Color color ) : void

Displays a specific color on the dioder

Initialize ( ) : void

Assembles everything needed to interface with the Dioder Device

Private Methods

Method Description
GetColorString ( Color color ) : string

Maps the Color object to a string that the arduino can understand

Method Details

Close() public method

Closes the connection to the Dioder device
public Close ( ) : void
return void

DioderConnection() public method

ctor
public DioderConnection ( ) : System.Text
return System.Text

DisplayColor() public method

Displays a specific color on the dioder
public DisplayColor ( Color color ) : void
color ArduinoTest.Components.Domain.Color
return void

Initialize() public method

Assembles everything needed to interface with the Dioder Device
public Initialize ( ) : void
return void