Gor.Devices.Light_PhotoResistor.ReadInt C# (CSharp) Method

ReadInt() public method

Return ADC points of reading
public ReadInt ( ) : int
return int
        public override int ReadInt()
        {
            if (Adc == null)
                throw new Exception("Nessuna connessione.");

            return Adc.Read(Channel);
        }