VaettirNet.PixelsDice.Net
0.0.5
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 VaettirNet.PixelsDice.Net --version 0.0.5
NuGet\Install-Package VaettirNet.PixelsDice.Net -Version 0.0.5
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="VaettirNet.PixelsDice.Net" Version="0.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VaettirNet.PixelsDice.Net --version 0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VaettirNet.PixelsDice.Net, 0.0.5"
#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 VaettirNet.PixelsDice.Net as a Cake Addin #addin nuget:?package=VaettirNet.PixelsDice.Net&version=0.0.5 // Install VaettirNet.PixelsDice.Net as a Cake Tool #tool nuget:?package=VaettirNet.PixelsDice.Net&version=0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
VaettirNet.PixelsDice.Net
A library for interacting with Pixels dice using .NET
Example usage
using VaettirNet.PixelsDice.Net;
var mgr = PixelsManager.Create();
await foreach (PixelsDie die in mgr.ScanAsync(findAll:true, connectAll:false, cancellationToken: exit.Token))
{
die.RollStateChanged +=
(die, state, face) => Console.WriteLine($"Die {die.PixelId} roll state changed to {state} on face {face}");
if (!die.IsConnected)
{
await die.ConnectAsync();
}
Console.WriteLine($"Connected to die {die.PixelId} (color:{die.Colorway}, type:{die.Type}, firmware:{die.BuildTimestamp.ToLocalTime()}");
die.Blink(5, TimeSpan.FromSeconds(1), Color.Aqua, 0xFF, 0, false);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
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 |
---|---|---|
0.3.5 | 155 | 3/14/2024 |
0.3.3 | 106 | 3/14/2024 |
0.3.2 | 117 | 3/1/2024 |
0.3.1 | 118 | 2/29/2024 |
0.3.0 | 100 | 2/29/2024 |
0.0.13 | 123 | 2/5/2024 |
0.0.12 | 114 | 2/5/2024 |
0.0.8 | 98 | 1/30/2024 |
0.0.7 | 118 | 1/18/2024 |
0.0.6 | 113 | 1/17/2024 |
0.0.5 | 112 | 1/17/2024 |
0.0.4 | 120 | 1/17/2024 |
0.0.3 | 107 | 1/17/2024 |
0.0.1 | 111 | 1/16/2024 |