C# Class ArduinoTest.Components.ArduinoConnection

Aids in the process of connecting to an arduino device
Inheritance: IArduinoConnection
Datei anzeigen Open project: holymoo/Disposition

Public Methods

Method Description
Close ( ) : void

Ends the connection to the Arduino

Initialize ( ) : void

Starts up the connection to the Arduino device

Write ( byte buffer ) : void
Write ( string text ) : void

Writes some text to the arduino device

Private Methods

Method Description
CreateNewSerialPort ( ) : SerialPort

Creates the settings for an arduino specific connection

VerifySerialPort ( SerialPort serialPort ) : void

Method Details

Close() public method

Ends the connection to the Arduino
public Close ( ) : void
return void

Initialize() public method

Starts up the connection to the Arduino device
public Initialize ( ) : void
return void

Write() public method

public Write ( byte buffer ) : void
buffer byte
return void

Write() public method

Writes some text to the arduino device
public Write ( string text ) : void
text string /// The text being written to the arduino device ///
return void