protected async Task ReadConditions() { var conditions = await si7021.Read(); Console.WriteLine("Initial Readings:"); ShowConditions(); }
protected async Task ReadConditions() { var conditions = await si7021.Read(); Console.WriteLine("Initial Readings:"); Console.WriteLine($" Temperature: {conditions.Temperature}ºC"); Console.WriteLine($" Pressure: {conditions.Pressure}hPa"); Console.WriteLine($" Relative Humidity: {conditions.Humidity}%"); }