From 9cc4e1a09cfafeb682f66b96e3e6ed34f2009bca Mon Sep 17 00:00:00 2001 From: Matthias Prinke <83612361+matthias-bs@users.noreply.github.com> Date: Thu, 25 Apr 2024 22:15:05 +0200 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f98fc38..8f5d2b0 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ void loop() { if (miThermometer.data[i].valid) { Serial.println(); Serial.printf("Sensor %d: %s\n", i, knownBLEAddresses[i].c_str()); + Serial.printf("Name: %s\n", miThermometer.data[i].name.c_str()); Serial.printf("%.2f°C\n", miThermometer.data[i].temperature/100.0); Serial.printf("%.2f%%\n", miThermometer.data[i].humidity/100.0); Serial.printf("%.3fV\n", miThermometer.data[i].batt_voltage/1000.0);