public Sound(ADS1015 adc, ADS1015.Channel channel, ADS1015.Gain gain, UnitsNet.ElectricPotential volts) { this.adc = adc; this.channel = channel; this.gain = gain; this.volts = volts; }
public Mcp970X(ADS1015 adc, ADS1015.Channel channel, ADS1015.Gain gain, int zeroDegreeOffset, double millivoltsPerDegree, int CalibrationOffset) { this.adc = adc; this.channel = channel; this.gain = gain; this.zeroDegreeOffset = zeroDegreeOffset; this.millivoltsPerDegree = millivoltsPerDegree; this.CalibrationOffset = CalibrationOffset; }
public ExplorerHatPro(ADS1015.Gain gain = ADS1015.Gain.Volt5) { this.gain = gain; for (int l = 0; l < ColourCount; l++) // turn off the leds at startup time { this.Light((Colour)l).Off(); } InitTouch(); }
public ExplorerHatPro(ADS1015.Gain gain = ADS1015.Gain.Volt5) { this.gain = gain; for (int l = 0; l < ColourCount; l++) { // turn off the leds at startup time this.Light((Colour)l).Off(); } InitTouch(); }
public Mcp9701AE(ADS1015 adc, ADS1015.Channel channel, ADS1015.Gain gain) : base(adc, channel, gain, 400, 20.5, -6) { }
public Mcp9700A(ADS1015 adc, ADS1015.Channel channel, ADS1015.Gain gain) : base(adc, channel, gain, 530, 11, -2) { }