public MSSensorMUXBase (SensorPort Port, MSSensorMUXPort Address, MSSensorMUXMode SensorMode) : base (Port, (byte)Address, I2CMode.LowSpeed) { base.Initialise (); Mode = (byte)SensorMode; if (SensorMode != MSSensorMUXMode.TouchMode) NumberOfM = 3; else NumberOfM = 1; SetSensorMode (); }
public MSSensorMUXBase(SensorPort Port, MSSensorMUXPort Address, MSSensorMUXMode SensorMode) : base(Port, (byte)Address, I2CMode.LowSpeed) { base.Initialise(); Mode = (byte)SensorMode; if (SensorMode != MSSensorMUXMode.TouchMode) { NumberOfM = 3; } else { NumberOfM = 1; } SetSensorMode(); }