LcdInterface Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Abstraction layer for accessing the lcd IC.
public abstract class LcdInterface : IDisposable
type LcdInterface = class
interface IDisposable
Public MustInherit Class LcdInterface
Implements IDisposable
- Inheritance
-
LcdInterface
- Implements
Constructors
LcdInterface() |
Properties
BacklightOn |
Enable/disable the backlight. (Will always return false if no backlight pin was provided.) |
EightBitMode |
True if device uses 8-bits for communication, false if device uses 4-bits |
WaitMultiplier |
The command wait time multiplier for the LCD. |
Methods
CreateFromShiftRegister(Int32, Int32, Int32[], Int32, ShiftRegister, Boolean) |
Creates a ShiftRegister based interface for the LCD. |
CreateGpio(Int32, Int32, Int32[], Int32, Single, Int32, GpioController, Boolean) |
Creates a GPIO based interface for the LCD. |
CreateGpio(Int32, Int32, Int32[], Int32, Single, Int32, GpioController) | |
CreateI2c(I2cDevice, Boolean) |
Create an integrated I2c based interface for the LCD. |
CreateI2c(I2cDevice) | |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose(Boolean) |
Releases unmanaged resources used by LcdInterface and optionally release managed resources |
SendCommand(Byte) |
Sends command to the LCD device |
SendCommandAndWait(Byte) |
The initialization sequence and some other complex commands should be sent with delays, or the display may behave unexpectedly. It may show random, blinking characters or display text very faintly only. |
SendCommands(ReadOnlySpan<Byte>) |
Send commands to the LCD device |
SendData(Byte) |
Sends byte to LCD device |
SendData(ReadOnlySpan<Byte>) |
Sends data to the LCD device |
SendData(ReadOnlySpan<Char>) |
Sends data to the LCD device |
WaitForNotBusy(Int32) |
Wait for the device to not be busy. |