From 396e3322a9fcb65a63e7279a0249f71a246ec47a Mon Sep 17 00:00:00 2001 From: Gregg Date: Tue, 23 Feb 2021 06:43:41 -0600 Subject: [PATCH] Update DEV_Sensors.h --- examples/12-ServiceLoops/DEV_Sensors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/12-ServiceLoops/DEV_Sensors.h b/examples/12-ServiceLoops/DEV_Sensors.h index a47acb6..59eb3ca 100644 --- a/examples/12-ServiceLoops/DEV_Sensors.h +++ b/examples/12-ServiceLoops/DEV_Sensors.h @@ -16,7 +16,7 @@ struct DEV_TempSensor : Service::TemperatureSensor { // A standalone Tempera // of Celsius or Fahrenheit for each Service, it does not appear to work as advertised. temp=new Characteristic::CurrentTemperature(30.0); // instantiate the Current Temperature Characteristic - new SpanRange(-50,100,1); // expand the range from the HAP default of 0-100 to -50 to 100 to allow for negative temperatures + new SpanRange(-50,100,0.5); // expand the range from the HAP default of 0-100 to -50 to 100 to allow for negative temperatures Serial.print("Configuring Temperature Sensor"); // initialization message Serial.print("\n");