public override async Task Start() { switch (SelectedSensor) { case "BMP280/BME280": Sensor = (await Bmp280.ProbeAsync(Board.I2c, true))[0]; break; } Sensor.AutoUpdateWhenPropertyRead = false; OnPropertyChanged(nameof(Sensor)); }
public override async Task Start() { switch (SelectedSensor) { case "BMP280/BME280": Sensor = (await Bmp280.ProbeAsync(Board.I2c, true))[0]; break; } Sensor.AutoUpdateWhenPropertyRead = false; OnPropertyChanged(nameof(Sensor)); }