Calibrates the sensor to correct values set by the user
Parameters |
Description |
Sensor sens |
sens the Sensor object to be updated |
int actualReading |
actual reading of light in lux |
int tempTarget |
what the actual temperature of the room the sensor is located in is |
Boolean isFahrenheit |
data is always stored as Celsius so if you are inputting values as Fahrenheit you will want to set this boolean value to true |
Boolean sendSensorUpdate |
a Boolean flag that lets the sensor know if it should send up the new configuration |