Skip to main content

Meadow.Foundation.Grove.Displays.LCD

LCD
StatusStatus badge: working
Source codeGitHub
NuGet packageNuGet Gallery for Meadow.Foundation.Grove.Displays.LCD

Code Example

LCD display;

public override Task Initialize()
{
Resolver.Log.Info("Initialize...");

display = new LCD(Device.CreateI2cBus());

return Task.CompletedTask;
}

public override async Task Run()
{
display.Write("Hello Grove");

await Task.Delay(2000);

for (byte i = 0; i < 16; i++)
{
display.SetCursorPosition(i, 0);
display.Write("1");
Thread.Sleep(250);

display.SetCursorPosition(i, 1);
display.Write("2");
Thread.Sleep(250);
}

display.ClearLines();
}

Sample project(s) available on GitHub

Wiring Example

LCDMeadow Pin
GNDGND
VCC3.3V
RXD01
TXD00

Class LCD

Represents a Grove LCD display

Assembly: LCD.dll
View Source
Declaration
public class LCD : CharacterDisplay, ITextDisplay, IDisplay

Inheritance: System.Object -> Meadow.Foundation.Displays.Lcd.CharacterDisplay

Implements:
Meadow.Peripherals.Displays.ITextDisplay, Meadow.Peripherals.Displays.IDisplay

Implements

  • Meadow.Peripherals.Displays.ITextDisplay
  • Meadow.Peripherals.Displays.IDisplay