public Ti430BoostAds1118Connection(INativeSpiConnection spi0, INativeSpiConnection spi1, IOutputBinaryPin lcdRegisterSelectGpio, IOutputBinaryPin lcdResetGpio) { this.singleShot = Ads1118SingleShot.SingleShot; this.pga = Ads1118ProgrammableGainAmplifier.TwoFiveSix; this.deviceOperatingMode = Ads1118DeviceOperatingMode.PowerDownSingleShotMode; this.dataRate = Ads1118DataRate.OneTwoEight; this.pullupEnabled = Ads1118PullupEnable.PullupEnabled; this.spi0 = spi0; this.spi1 = spi1; this.lcdRegisterSelectGpio = lcdRegisterSelectGpio; this.lcdResetGpio = lcdResetGpio; this.lcdRegisterSelectGpio.Write(true); this.lcdResetGpio.Write(true); }