Update DEV_Sensors.h
This commit is contained in:
parent
3edc30222f
commit
396e3322a9
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue