Bricelam.Blink1Lib

A .NET API on top of blink1-lib


Keywords
blink1, usb
License
Unlicense
Install
Install-Package Bricelam.Blink1Lib -Version 1.0.0-alpha1

Documentation

Bricelam.Blink1Lib

My version of a .NET API on top of blink1-lib

Install

Bricelam.Blink1Lib is available on NuGet.

Install-Package Bricelam.Blink1Lib -Pre 

Example

Here's how to use it.

// Connect to the blink(1) mk2
using (var blink1 = new Blink1Mk2())
{
    // Blink white three times
    for (int i = 0; i < 3; i++)
    {
        blink1.SetColor(255, 255, 255);
        Thread.Sleep(500);
        blink1.SetColor(0, 0, 0);
        Thread.Sleep(500);
    }
}

See Blink1Sample under the samples directory for more examples.