示例#1
0
 public DomoteerWebServer(EthernetJ11D eth, MulticolorLED led, DisplayT35 display, Sensore_Temperatura_43 s)
 {
     this.eth          = eth;
     this.led          = led;
     this.display      = display;
     temperatureSensor = s;
 }
示例#2
0
 public Motor(MotorDriverL298 motorDriverL298, BreakOut breakOut, MulticolorLED multicolorLED2)
 {
     // TODO: Complete member initialization
     this.motorDriverL298 = motorDriverL298;
     this.breakOut        = breakOut;
     this.multicolorLED2  = multicolorLED2;
     this.lastAction      = 0;
     this.counter         = 0;
     this.moveTimer.Tick += new Gadgeteer.Timer.TickEventHandler(moveTimer_Tick);
     this.stopTimer.Tick += new Gadgeteer.Timer.TickEventHandler(stopTimer_Tick);
 }