Animatroller.Framework.PhysicalDevice.MonopriceRGBWPinSpot.Output C# (CSharp) Method

Output() protected method

protected Output ( ) : void
return void
        protected override void Output()
        {
            byte function = (byte)(this.strobeSpeed == 0 ? 255 : this.strobeSpeed.GetByteScale(104) + 135);

            var color = GetColorFromColorBrightness();

            var rgbw = RgbConverter.GetRGBW(color);

            byte autoRun = 0;

            DmxOutputPort.SendDimmerValues(this.baseDmxChannel, new byte[] { function, rgbw.R, rgbw.G, rgbw.B, rgbw.W, autoRun });
        }
MonopriceRGBWPinSpot