Skip to main content

Class SerialTextFile

Provide a mechanism for reading lines of text from a SerialPort.

Assembly: Meadow.Foundation.dll​
View Source​
Declaration
public class SerialTextFile

Methods​

Open()​

Open the serial port and start processing the data from the serial port.

View Source​
Declaration
public void Open()

Close()​

Close the serial port and stop processing data.

View Source​
Declaration
public void Close()

Events​

OnLineReceived​

A complete line of text has been read, send this to the event subscriber.

View Source​
Declaration
public event SerialTextFile.LineReceived OnLineReceived
Event Type​

Meadow.Foundation.Communications.SerialTextFile.LineReceived