C# Class ArduinoTest.Components.DioderConnection

Manages operations surrounding the Ikea Dioder
Inheritance: IDioderConnection
Afficher le fichier Open project: holymoo/Disposition

Méthodes publiques

Méthode 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

Méthode Description
GetColorString ( Color color ) : string

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

Method Details

Close() public méthode

Closes the connection to the Dioder device
public Close ( ) : void
Résultat void

DioderConnection() public méthode

ctor
public DioderConnection ( ) : System.Text
Résultat System.Text

DisplayColor() public méthode

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

Initialize() public méthode

Assembles everything needed to interface with the Dioder Device
public Initialize ( ) : void
Résultat void