MakoIoT.Device.Displays.Led 1.0.29.39828

There is a newer version of this package available.
See the version list below for details.
dotnet add package MakoIoT.Device.Displays.Led --version 1.0.29.39828                
NuGet\Install-Package MakoIoT.Device.Displays.Led -Version 1.0.29.39828                
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.29.39828" />                
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.29.39828                
#r "nuget: MakoIoT.Device.Displays.Led, 1.0.29.39828"                
#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.29.39828

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

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.30.54707 118 10/18/2024
1.0.29.39828 95 8/27/2024
1.0.28.64325 109 8/10/2024
1.0.27.64905 100 6/4/2024
1.0.26.27934 245 11/9/2023
1.0.24.17116 155 5/24/2023
1.0.23.27300 133 5/24/2023
1.0.22.17799 141 5/24/2023
1.0.21.30955 139 5/22/2023
1.0.20.7122 139 5/22/2023
1.0.19.24455 142 5/22/2023