Skip to main content

Interface ITextDisplay

Defines a Text Display.

Assembly: Meadow.Contracts.dll
View Source
public interface ITextDisplay

Properties

DisplayConfig

Gets a Display Configuration

View Source
TextDisplayConfig DisplayConfig { get; }

Methods

Write(string)

Writes the specified string on the display.

View Source
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
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
void ClearLines()

ClearLine(byte)

Clears the specified line of characters on the display.

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

SetCursorPosition(byte, byte)

Set cursor in the specified row and column.

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

Show()

Update the display, not used by character displays

View Source
void Show()