eXoCooLd / Waveshare.EPaperDisplay

.Net Core Library to show images on Waveshare E-Paper Displays
MIT License
30 stars 13 forks source link
csharp dotnet-core dotnet-standard dotnetcore e-paperdisplay gpio nunit spi waveshare-eink

Waveshare.EPaperDisplay

Library for .Net Core to control a Waveshare E-Paper Display

Currently supported Models:

Based on:

Specification from:

C Example Code from: https://github.com/waveshare/e-Paper/tree/master/RaspberryPi_JetsonNano/c

NuGet Package:

https://www.nuget.org/packages/eXoCooLd.Waveshare.EPaperDisplay/

Usage for a public static method:

public static void Main()
{
    const string fileName = "yourImage.bmp";
    using var bitmap = new Bitmap(Image.FromFile(fileName, true));

    using var ePaperDisplay = EPaperDisplay.Create(EPaperDisplayType.WaveShare7In5Bc);

    ePaperDisplay.Clear();
    ePaperDisplay.WaitUntilReady();
    ePaperDisplay.DisplayImage(bitmap);
}

Example running on Raspberry Pi 3

Screenshot

License

MIT