public ThermistorTemperatureReader(IAnalogToDigitalConvertor adc, Settings settings, ThermistorCalculator thermistorCalculator)
 {
     _adc = adc;
     _settings = settings;
     _thermistorCalculator = thermistorCalculator;
     adc.ReferenceVoltage = settings.AdcReferenceVoltage;
 }
 public ThermistorTemperatureReader(IAnalogToDigitalConvertor adc, Settings settings, ThermistorCalculator thermistorCalculator)
 {
     _adc                  = adc;
     _settings             = settings;
     _thermistorCalculator = thermistorCalculator;
     adc.ReferenceVoltage  = settings.AdcReferenceVoltage;
 }
		public HardwareInitializer(IAnalogToDigitalConvertor adc, SensorPoller sensorPoller, Hardware hardware)
		{
			_adc = adc;
			_sensorPoller = sensorPoller;
			_hardware = hardware;
		}
Example #4
0
 public HardwareInitializer(IAnalogToDigitalConvertor adc, SensorPoller sensorPoller, Hardware hardware)
 {
     _adc          = adc;
     _sensorPoller = sensorPoller;
     _hardware     = hardware;
 }