Edit

Share via


LcdConsole(ICharacterLcd, String, Boolean) Constructor

Definition

Creates a new instance of the LcdConsole class using the specified LCD low-level interface. This class automatically configures the low-level interface. Do not use the low-level interface at the same time.

public LcdConsole (Iot.Device.CharacterLcd.ICharacterLcd lcd, string romType, bool shouldDispose = true);
new Iot.Device.CharacterLcd.LcdConsole : Iot.Device.CharacterLcd.ICharacterLcd * string * bool -> Iot.Device.CharacterLcd.LcdConsole
Public Sub New (lcd As ICharacterLcd, romType As String, Optional shouldDispose As Boolean = true)

Parameters

lcd
ICharacterLcd

The low-level LCD interface.

romType
String

Name of character ROM of display. Currently supported types: A00 and A02.

shouldDispose
Boolean

If the class should dispose the LCD driver when it is disposed. Defaults to true

Applies to