C# Класс ArduinoTest.Components.ArduinoConnection

Aids in the process of connecting to an arduino device
Наследование: IArduinoConnection
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CreateNewSerialPort ( ) : SerialPort

Creates the settings for an arduino specific connection

VerifySerialPort ( SerialPort serialPort ) : void

Описание методов

Close() публичный Метод

Ends the connection to the Arduino
public Close ( ) : void
Результат void

Initialize() публичный Метод

Starts up the connection to the Arduino device
public Initialize ( ) : void
Результат void

Write() публичный Метод

public Write ( byte buffer ) : void
buffer byte
Результат void

Write() публичный Метод

Writes some text to the arduino device
public Write ( string text ) : void
text string /// The text being written to the arduino device ///
Результат void