Exemple #1
0
 public LedStore(LedControl led, int address)
 {
     mode         = new LedControl.Modes(led.Mode.Get());
     direction    = new LedControl.Directions(led.Direction.Get());
     colorIndex   = led.ColorIndex;
     this.address = address;
 }
Exemple #2
0
 public LedStore()
 {
     mode       = new LedControl.Modes(0);
     direction  = new LedControl.Directions(0);
     colorIndex = 0;
     address    = 0;
 }