public void Run() { this.IsRunning = true; _lcd.Clear(); this.StartTestCharDisplay(); }
public void Run() { // wire up our events _hih.TemperatureChanged += (object sender, SensorFloatEventArgs e) => { DisplayTemperature(e.CurrentValue); }; _hih.HumidityChanged += (object sender, SensorFloatEventArgs e) => { DisplayHumidity(e.CurrentValue); }; // clear our screen _lcd.Clear(); // display the initial stuff DisplayTemperature(_hih.Temperature); DisplayHumidity(_hih.Humidity); }