public double Read()
        {
            double val = AnalogIn.Read();

            _value = _avg.Calculate(val);
            return(_value);
        }
Exemple #2
0
 /// <summary>
 /// La temperatura letta in gradi Celsius
 /// </summary>
 public double Temperature()
 {
     // Lettura del canale analogico
     return(Temperature(_ai.Read()));
 }