MakoIoT.Device.Displays.Led 1.0.26.27934

dotnet add package MakoIoT.Device.Displays.Led --version 1.0.26.27934
NuGet\Install-Package MakoIoT.Device.Displays.Led -Version 1.0.26.27934
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="MakoIoT.Device.Displays.Led" Version="1.0.26.27934" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MakoIoT.Device.Displays.Led --version 1.0.26.27934
#r "nuget: MakoIoT.Device.Displays.Led, 1.0.26.27934"
#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 MakoIoT.Device.Displays.Led as a Cake Addin
#addin nuget:?package=MakoIoT.Device.Displays.Led&version=1.0.26.27934

// Install MakoIoT.Device.Displays.Led as a Cake Tool
#tool nuget:?package=MakoIoT.Device.Displays.Led&version=1.0.26.27934

Mako-IoT.Device.Displays.Led

The cool blink library 😃 Provides effects for RGB LED such as smooth color transition, fade etc. Both synchronous and asynchronous methods.

Usage

//initialize RGB pixel
RgbPixel pixel = new RgbPixel(pixelDriver);

//set pixel color
pixel.SetColor(new Color(255, 0, 0));

//blink nicely
var thread = pixel.BlinkSmoothAsync(cancellationToken);

//transition to new color
pixel.Transition(new Color(255, 0, 255), cancellationToken);

//fade out then fade into new color
var thread = pixel.FadeTransitionAsync(newColor, cancellationToken);

IPixelDriver implementation

You need to provide implementation of IPixelDriver which talks to underlying hardware. This will usually be three PWM channels (for each of the base colors R, G and B). Sample implementation for ESP32 is here: PwmPixelDriver

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
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.26.27934 215 11/9/2023
1.0.24.17116 130 5/24/2023
1.0.23.27300 108 5/24/2023
1.0.22.17799 106 5/24/2023
1.0.21.30955 113 5/22/2023
1.0.20.7122 116 5/22/2023
1.0.19.24455 118 5/22/2023