コード例 #1
0
        public void DoAnimations()
        {
            _rgbStrip           = new RGBStrip(32);
            _rgbStrip.DimFactor = 2;

            _animator = new Animator(_rgbStrip);

            while (true)
            {
                MovingFade();

                Ping();
                Blend();
                Cylon();
                RandomColors();
                AllColors();
            }
        }
コード例 #2
0
 /// <summary>
 /// Create an instance of the animator.
 /// </summary>
 /// <param name="rgbStrip">The strip to animate.</param>
 public Animator(RGBStrip rgbStrip)
 {
     _rgbStrip = rgbStrip;
 }
コード例 #3
0
 /// <summary>
 /// Create an instance of the animator.
 /// </summary>
 /// <param name="rgbStrip">The strip to animate.</param>
 public Animator(RGBStrip rgbStrip)
 {
     _rgbStrip = rgbStrip;
 }
コード例 #4
0
        public void DoAnimations()
        {
            _rgbStrip = new RGBStrip(32);
            _rgbStrip.DimFactor = 2;

            _animator = new Animator(_rgbStrip);

            while (true)
            {
                MovingFade();

                Ping();
                Blend();
                Cylon();
                RandomColors();
                AllColors();
            }
        }