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
Type | Name | Description |
---|---|---|
System.String | text | String 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
Type | Name | Description |
---|---|---|
System.String | text | String to display. |
System.Byte | lineNumber | Line Number. |
System.Boolean | showCursor | Show 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
Type | Name | Description |
---|---|---|
System.Byte | lineNumber | Line Number |
SetCursorPosition(byte, byte)
Set cursor in the specified row and column.
View Source
void SetCursorPosition(byte column, byte line)
Parameters
Type | Name |
---|---|
System.Byte | column |
System.Byte | line |
Show()
Update the display, not used by character displays
View Source
void Show()