Méthode | Description | |
---|---|---|
Backspace ( ) : void |
Moves the cursor back one space and erases the character in that space.
|
|
Begin ( ) : void |
Begins communication with the display.
|
|
Begin ( DisplayType type ) : void |
Begins communication with the display.
|
|
CarriageReturn ( ) : void |
Moves the cursor to the left-most column of the current row.
|
|
ClearDisplay ( ) : void |
Clear the contents of the display and return the cursor to its home position (upper left corner, or position 0, 0).
|
|
CrLf ( ) : void |
Carriage return, line feed. This will move the cursor to the left-most column of the next row (same as calling CarriageReturn followed by LineFeed).
|
|
CrystalFontz63xSerial ( ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial class. This is the default constructor.
|
|
CrystalFontz63xSerial ( BaudRates baud ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial class with the BAUD rate to negotiate with display.
|
|
CrystalFontz63xSerial ( IRaspiGpio backlightPin ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial class with a GPIO pin to use to control the backlight.
|
|
CrystalFontz63xSerial ( IRaspiGpio backlightPin, BaudRates baud ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial class with the GPIO pin to control the backlight with and the BAUD rate to negotiate with the display.
|
|
CursorHome ( ) : void |
Returns the cursor to its home position (upper left corner).
|
|
DeleteInPlace ( ) : void |
Deletes the character at the current cursor position but does not move the cursor.
|
|
Dispose ( ) : void |
Releases all resource used by the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial object. Call Dispose when you are finished using the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial. The Dispose method leaves the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial was occupying. |
|
End ( ) : void |
Ends communication with the display.
|
|
FormFeed ( ) : void |
Clears the display. All data is erased.
|
|
LineFeed ( ) : void |
Moves the cursor down one row. If scrolling is enabled and the cursor is in the bottom row, the display will scroll up one row and the bottom row will be cleared. If scrolling is NOT enabled, and the cursor is in the bottom row, then it will wrap up to the same character position on the top row.
|
|
Print ( String text ) : void |
Prints text to the display.
|
|
RebootDisplay ( ) : void |
Reboot the LCD display. This should only be used to return the display to a usable state, perhaps due to invalid contrast or brightness values or if the display is printing garbage. However, this method is not likely to succeed if the display's controller is in an inoperable or indeterminate state. In such cases, it is best to power-cycle the controller instead.
|
|
SetBarGraph ( GraphIndices index, GraphStyle style, |
Displays/updates a horizontal bar graph.
|
|
SetCursorPosition ( |
Sets the cursor position.
|
|
ShowInfoScreen ( ) : void |
Displays the LCD controller info screen.
|
Méthode | Description | |
---|---|---|
Dispose ( System.Boolean disposing ) : void |
Releases all resource used by the CyrusBuilt.MonoPi.Devices.CrystalFontzSerialLCD.CrystalFontz63xSerial object.
|
|
SendCommand ( Byte cmd ) : void |
Sends the specified command to the display controller.
|
public Begin ( DisplayType type ) : void | ||
type | DisplayType | /// The display type /// |
Résultat | void |
public CrystalFontz63xSerial ( BaudRates baud ) : System | ||
baud | BaudRates | /// The BAUD rate. /// |
Résultat | System |
public CrystalFontz63xSerial ( IRaspiGpio backlightPin ) : System | ||
backlightPin | IRaspiGpio | /// The GPIO pin to use to control the backlight. /// |
Résultat | System |
public CrystalFontz63xSerial ( IRaspiGpio backlightPin, BaudRates baud ) : System | ||
backlightPin | IRaspiGpio | /// The GPIO pin to use to control the backlight. /// |
baud | BaudRates | /// The BAUD rate. /// |
Résultat | System |
public Print ( String text ) : void | ||
text | String | /// The text to print. /// |
Résultat | void |
public SetBarGraph ( GraphIndices index, GraphStyle style, |
||
index | GraphIndices | /// The graph index to use. /// |
style | GraphStyle | /// The graph style to use. /// |
startCol | /// The starting column for the graph (0 - 15). /// | |
endCol | /// The ending column for the graph (0 - 15). /// | |
len | /// The graph bar length (should be a value between startCol and endCol). /// | |
row | /// The row to place the bar graph in (0 or 1). /// | |
Résultat | void |
public SetCursorPosition ( |
||
column | /// The column to put the cursor in (0 - 15). /// | |
row | /// The row to put the cursor in (0 or 1). /// | |
Résultat | void |