public Motor(INxtBrick nxtBrick, NxtBrick.Motor motor) { Brick = nxtBrick; MotorPort = motor; RegulationMode = NxtBrick.MotorRegulationMode.Idle; }
public PollingSensor(INxtBrick nxtBrick, NxtBrick.Sensor sensor) { Brick = nxtBrick; Sensor = sensor; TimeResolution = DefaultTimeResolution; ValueResolutionPercentage = DefaultValueResolution; }
public UltrasonicSensor(INxtBrick nxtBrick, NxtBrick.Sensor sensor) : base(nxtBrick, sensor) { ValueResolutionPercentage = 1; }
public TouchSensor(INxtBrick nxtBrick, NxtBrick.Sensor sensor) : base(nxtBrick, sensor) { }
public SoundDbaRatioSensor(INxtBrick nxtBrick, NxtBrick.Sensor sensor) : base(nxtBrick, sensor) { TimeResolution = TimeSpan.FromMilliseconds(300); }
public SoundSensor(INxtBrick nxtBrick, NxtBrick.Sensor sensor) : base(nxtBrick, sensor) { }
public LightSensor(INxtBrick nxtBrick, NxtBrick.Sensor sensor) : base(nxtBrick, sensor) { }