Method | Description | |
---|---|---|
Begin ( |
Initializes the LCD. Specifies dimensions (width and height) of the display.
|
|
Begin ( |
Initializes the LCD. Specifies dimensions (width and height) of the display.
|
|
Clear ( ) : void |
Clears the LCD screen and positions the cursor in the upper-left corner of the display.
|
|
CreateChar ( |
Creates a custom character (glyph) for use on the LCD. Up to eight characters of 5x8 pixels are supported (numbered 0 to 7). The appearance of each custom character is specified by an array of eight bytes, one for each row. The five least significant bits of each byte determine the pixels in that row. To display a custom character on the screen, call WriteByte and pass its number. |
|
CreateChar ( |
Creates a custom character (glyph) for use on the LCD. Up to eight characters of 5x8 pixels are supported (numbered 0 to 7). The appearance of each custom character is specified by an array of eight bytes, one for each row. The five least significant bits of each byte determine the pixels in that row. To display a custom character on the screen, call WriteByte and pass its number. |
|
LcdModule ( ILcdTransferProvider provider ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.LCD.LcdModule class with the LCD transfer provider.
|
|
MoveCursor ( System.Boolean right ) : void |
Moves the cursor left or right.
|
|
ReturnHome ( ) : void |
Positions the cursor in the upper-left of the LCD (home position). That is, use that location in outputting subsequent text to the display. To also clear the display, use the Clear() method instead.
|
|
ScrollDisplayLeft ( ) : void |
Scrolls the contents of the display (text and cursor) one space to the left.
|
|
ScrollDisplayRight ( ) : void |
Scrolls the contents of the display (text and cursor) one space to the right.
|
|
SendCommand ( Byte data ) : void |
Sends HD44780 LCD interface command.
|
|
SetCursorPosition ( |
Position the LCD cursor; that is, set the location at which subsequent text written to the LCD will be displayed.
|
|
Write ( Byte buffer, |
Writes a specified number of bytes to the LCD using data from a buffer.
|
|
Write ( String text ) : void |
Writes text to the LCD.
|
|
WriteByte ( Byte data ) : void |
Sends one data byte to the display.
|
Method | Description | |
---|---|---|
UpdateDisplayControl ( ) : void |
Updates the display control. This method is called when any of the display properties are changed.
|
public Begin ( |
||
columns | /// The number of columns that the display has. /// | |
lines | /// The number of rows the display has. /// | |
return | void |
public Begin ( |
||
columns | /// The number of columns that the display has. /// | |
lines | /// The number of rows the display has. /// | |
leftToRight | System.Boolean | /// If set to true left to right, versus right to left. /// |
dotSize | System.Boolean | /// If set true and only one line set, then the font size will /// be set 10px high. /// |
return | void |
public CreateChar ( |
||
location | /// Which character to create (0 - 7). /// | |
charmap | Byte | /// The character's pixel data. /// |
return | void |
public CreateChar ( |
||
location | /// Which character to create (0 - 7). /// | |
charmap | Byte | /// The character's pixel data. /// |
offset | /// Offset in the charmap where character data is found. /// | |
return | void |
public LcdModule ( ILcdTransferProvider provider ) : System | ||
provider | ILcdTransferProvider | /// The LCD transfer provider. /// |
return | System |
public MoveCursor ( System.Boolean right ) : void | ||
right | System.Boolean | /// If set to true, move the cursor right; Otherwise, left. /// |
return | void |
public SendCommand ( Byte data ) : void | ||
data | Byte | /// The byte command to send. /// |
return | void |
public SetCursorPosition ( |
||
column | /// The column position. /// | |
row | /// The row position. /// | |
return | void |
public Write ( Byte buffer, |
||
buffer | Byte | /// The byte array containing data to write to the display. /// |
offset | /// The zero-base byte offset in the buffer at which to begin copying bytes /// to the display. /// | |
count | /// The number of bytes to write. /// | |
return | void |
public Write ( String text ) : void | ||
text | String | /// The text to display. /// |
return | void |