Sang.IoT.NV3030B 1.0.1

dotnet add package Sang.IoT.NV3030B --version 1.0.1                
NuGet\Install-Package Sang.IoT.NV3030B -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sang.IoT.NV3030B" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sang.IoT.NV3030B --version 1.0.1                
#r "nuget: Sang.IoT.NV3030B, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sang.IoT.NV3030B as a Cake Addin
#addin nuget:?package=Sang.IoT.NV3030B&version=1.0.1

// Install Sang.IoT.NV3030B as a Cake Tool
#tool nuget:?package=Sang.IoT.NV3030B&version=1.0.1                

Sang.IoT.NV3030B

NV3030B LCD Controller

Introduction

This is a library for the NV3030B LCD controller. It is used in the Waveshare 1.5inch LCD Module.

This library is based on the Ili934x library.

Installation

You can install this library:

dotnet add package Sang.IoT.NV3030B

Usage

using Iot.Device.Graphics;
using Iot.Device.Graphics.SkiaSharpAdapter;
using Sang.IoT.NV3030B;
using System.Device.Gpio;
using System.Device.Gpio.Drivers;
using System.Device.Spi;

// Setup the GPIO
const int pinID_DC = 25;
const int pinID_Reset = 27;
const int pinID_BL = 18;

SkiaSharpAdapter.Register();

// Setup the SPI
SpiDevice displaySPI = SpiDevice.Create(new SpiConnectionSettings(0, 0)
{
    Mode = SpiMode.Mode0,
    DataBitLength = 8,
    ClockFrequency = 40_000_000
});

// Create the display
using var display = new NV3030B(displaySPI, pinID_DC, pinID_Reset, pinID_BL);

// Show a bitmap
using var image = BitmapImage.CreateFromFile("image.jpg");
display.DrawBitmap(image);

Hardware

The NV3030B is a LCD controller used in the Waveshare 1.5inch LCD Module. It is connected to the Raspberry Pi using SPI.

References

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 74 3/1/2025