Beispiel #1
0
 private async Task UpdateStatusBarItems()
 {
     this.Version = string.Format("Version: {0}", await _dhtTiny.GetFirmwareVersionAsync());
     this.Id      = string.Format("ID: 0x{0:X2}", await _dhtTiny.GetDeviceIdAsync());
     this.Address = string.Format("Address: 0x{0:X2}", await _dhtTiny.GetDeviceAddressAsync());
     this.Model   = string.Format("DHT{0}", await _dhtTiny.GetDeviceModelAsync());
 }