Skip to main content

Interface ITextDisplay

Defines a Text Display

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public interface ITextDisplay : IDisplay

Properties​

DisplayConfig​

Gets a Display Configuration

View Source​
Declaration
TextDisplayConfig DisplayConfig { get; }

Methods​

Write(string)​

Writes the specified string on the display

View Source​
Declaration
void Write(string text)
Parameters​
TypeNameDescription
System.StringtextString to display

WriteLine(string, byte, bool)​

Writes the specified string to the specified line number on the display

View Source​
Declaration
void WriteLine(string text, byte lineNumber, bool showCursor = false)
Parameters​
TypeNameDescription
System.StringtextString to display.
System.BytelineNumberLine Number.
System.BooleanshowCursorShow the cursor.

ClearLines()​

Clears all ITextDisplay lines of text

View Source​
Declaration
void ClearLines()

ClearLine(byte)​

Clears the specified line of characters on the display

View Source​
Declaration
void ClearLine(byte lineNumber)
Parameters​
TypeNameDescription
System.BytelineNumberLine Number

SetCursorPosition(byte, byte)​

Set cursor in the specified row and column

View Source​
Declaration
void SetCursorPosition(byte column, byte line)
Parameters​
TypeName
System.Bytecolumn
System.Byteline

Show()​

Update the display, not used by character displays

View Source​
Declaration
void Show()