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);