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
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
Declaration
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
Declaration
void ClearLines()
ClearLine(byte)
Clears the specified line of characters on the display
View Source
Declaration
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
Declaration
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
Declaration
void Show()