Skip to content

Instantly share code, notes, and snippets.

@tomorgan
Last active December 17, 2015 11:39
Show Gist options
  • Save tomorgan/5604142 to your computer and use it in GitHub Desktop.
Save tomorgan/5604142 to your computer and use it in GitHub Desktop.
Busylight SDK for Microsoft Lync: Example using Pulse command, which can be used to alter opacity and fade the light in and out.
using Plenom.Components.Busylight.Sdk;
using System.Threading;
namespace ThoughtStuff.BusylightSDK
{
class Program
{
static void Main(string[] args)
{
//Instantiate BusyLightController for either Lync or UC:
var controller = new BusylightLyncController();
// var controller = new BusylightUcController();
var sequence = new PulseSequence();
sequence.Color = BusylightColor.Red;
sequence.Step1 = 1;
sequence.Step2 = 64;
sequence.Step3 = 128;
sequence.Step4 = 255;
sequence.Step5 = 255;
sequence.Step6 = 128;
sequence.Step7 = 64;
sequence.Step8 = 1;
controller.Pulse(sequence);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment