MakoIoT.Device.Displays.Led
1.0.28.64325
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MakoIoT.Device.Displays.Led --version 1.0.28.64325
NuGet\Install-Package MakoIoT.Device.Displays.Led -Version 1.0.28.64325
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.28.64325" />
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.28.64325
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MakoIoT.Device.Displays.Led, 1.0.28.64325"
#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.28.64325 // Install MakoIoT.Device.Displays.Led as a Cake Tool #tool nuget:?package=MakoIoT.Device.Displays.Led&version=1.0.28.64325
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
- nanoFramework.CoreLibrary (>= 1.15.5)
- nanoFramework.System.Threading (>= 1.1.32)
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 | 115 | 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 |