VaettirNet.PixelsDice.Net 0.0.5

There is a newer version of this package available.
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
#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

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 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 110 3/14/2024
0.3.3 79 3/14/2024
0.3.2 90 3/1/2024
0.3.1 89 2/29/2024
0.3.0 82 2/29/2024
0.0.13 83 2/5/2024
0.0.12 75 2/5/2024
0.0.8 85 1/30/2024
0.0.7 81 1/18/2024
0.0.6 79 1/17/2024
0.0.5 84 1/17/2024
0.0.4 85 1/17/2024
0.0.3 71 1/17/2024
0.0.1 80 1/16/2024