VaettirNet.PixelsDice.Net
0.0.7
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.7
NuGet\Install-Package VaettirNet.PixelsDice.Net -Version 0.0.7
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.7" />
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.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VaettirNet.PixelsDice.Net, 0.0.7"
#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.7 // Install VaettirNet.PixelsDice.Net as a Cake Tool #tool nuget:?package=VaettirNet.PixelsDice.Net&version=0.0.7
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 | 153 | 3/14/2024 |
0.3.3 | 104 | 3/14/2024 |
0.3.2 | 115 | 3/1/2024 |
0.3.1 | 116 | 2/29/2024 |
0.3.0 | 98 | 2/29/2024 |
0.0.13 | 121 | 2/5/2024 |
0.0.12 | 112 | 2/5/2024 |
0.0.8 | 96 | 1/30/2024 |
0.0.7 | 116 | 1/18/2024 |
0.0.6 | 111 | 1/17/2024 |
0.0.5 | 110 | 1/17/2024 |
0.0.4 | 118 | 1/17/2024 |
0.0.3 | 105 | 1/17/2024 |
0.0.1 | 109 | 1/16/2024 |