Exemple #1
0
 public Platform(int port, FrameworkElement led, LedDisplay ledDisplay)
 {
     _updater    = new Updater();
     _logger     = new Logger();
     _ir         = new IrReceiver();
     _httpserver = new HttpServer();
     _httpclient = new HttpClient();
     _iot        = new IotFramework();
     _led        = new RgbLed(led);
     _leds       = new LedArray(ledDisplay);
     _wifi       = new WiFiClient();
     _nvs        = new Nvs();
     _lux        = new LightSensor();
     _port       = port;
 }