C# Class ImageClassifier.SerialPortManager

Manager for serial port data
Inheritance: IDisposable
Show file Open project: GemHunt/CoinSorter Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
StartListening ( ) : void

Connects to a serial port defined through the current settings

StopListening ( ) : void

Closes the serial port

Toggle ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
_serialPort_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

StartListening() public method

Connects to a serial port defined through the current settings
public StartListening ( ) : void
return void

StopListening() public method

Closes the serial port
public StopListening ( ) : void
return void

Toggle() public method

public Toggle ( ) : void
return void