Exemplo n.º 1
0
        private void InitializeModules()
        {
            // Initialize GTM.Modules and event handlers here.
            usbSerial = new GTM.GHIElectronics.UsbSerial(6);

            usbClientSP = new GTM.GHIElectronics.UsbClientSP(8);
        }
 private void InitializeModules() {
     this.usbClientDP = new GTM.GHIElectronics.UsbClientDP(1);
     this.usbHost = new GTM.GHIElectronics.UsbHost(3);
     this.resetButton = new GTM.GHIElectronics.Button(4);
     this.sdCard = new GTM.GHIElectronics.SDCard(5);
     this.usbSerial = new GTM.GHIElectronics.UsbSerial(8);
     this.wifi = new GTM.GHIElectronics.WiFi_RS21(9);
     this.moistureSensor = new GTM.Seeed.MoistureSensor(10);
     this.multicolorLed = new GTM.GHIElectronics.MulticolorLed(11);
 }
Exemplo n.º 3
0
 private void InitializeModules()
 {
     this.usbClientDP    = new GTM.GHIElectronics.UsbClientDP(1);
     this.usbHost        = new GTM.GHIElectronics.UsbHost(3);
     this.resetButton    = new GTM.GHIElectronics.Button(4);
     this.sdCard         = new GTM.GHIElectronics.SDCard(5);
     this.usbSerial      = new GTM.GHIElectronics.UsbSerial(8);
     this.wifi           = new GTM.GHIElectronics.WiFi_RS21(9);
     this.moistureSensor = new GTM.Seeed.MoistureSensor(10);
     this.multicolorLed  = new GTM.GHIElectronics.MulticolorLed(11);
 }