public Reader(SensorsHandler sensorsObject) { sensors = sensorsObject; measuresNotChanged = new int[5]; // Writing Timer GT.Timer writingTimer = new GT.Timer(120000); writingTimer.Tick += writingTimer_Tick; writingTimer.Start(); }
void ProgramStarted() { Debug.Print("Program Started"); // Setup sdcard SDMemoryCard.SetSDcard(sdCard); // Setup display Display.SetDisplay(displayTE35); // Setup sensor sensors = new SensorsHandler(usbHost, button); // Setup network network = new Network(ethernetJ11D); // Setup reader reader = new Reader(sensors); // MqttHandler mqttHandler = new MqttHandler(); }