예제 #1
0
		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 ();
		}
예제 #2
0
 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();
 }