C# Mine
ContentsIndexHome
PreviousUpNext
LightSensorBase.UpdateSensorCalibration Method

Calibrates the sensor to correct values set by the user

Syntax
C#
public static void UpdateSensorCalibration(Sensor sens, int actualReading, int tempTarget, Boolean sendSensorUpdate);
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 sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 
Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!