public override string Read()
{
// not useful
double val;
if (Adc == null)
return "";
else
{
if (calibration == null && !calibration.Ready) //If the sensor isn't calibrated
val = ReadInt() * voltage / 4096;
else //If the sensor is calibrated
val = calibration.Calculate(ReadInt());
return val.ToString();
}
}