Last active
December 17, 2015 11:39
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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