Example #1
0
 public LEDCore(string port, int baudRate, Animation animation)
     : this(port, animation)
 {
     this.BaudRate = baudRate;
 }
Example #2
0
 public void PlayAsync(Animation animation)
 {
     Console.WriteLine (animation.Name + " is now playing");
     animation.Play ();
 }
Example #3
0
 public LEDCore(string port, Animation animation)
     : this()
 {
     this.Port = port;
     this.Animations.Add (animation);
 }
Example #4
0
 public void Play(Animation animation)
 {
     Console.WriteLine (animation.Name + " is now playing");
     animation.Play ();
     animation.PlayThread.Join ();
 }