示例#1
0
 public StepMotor(IDigitalOutputPort stepPort, IDigitalOutputPort directionPort, int motorSteps, StepResolution stepResolution)
 {
     this.direction = false;
     this.stepResolution = stepResolution;
     this.motorSteps = motorSteps;
     this.stepPort = stepPort;
     this.directionPort = directionPort;
 }
示例#2
0
 public StepMotor(IDigitalOutputPort stepPort, IDigitalOutputPort directionPort, int motorSteps, StepResolution stepResolution)
 {
     this.direction      = false;
     this.stepResolution = stepResolution;
     this.motorSteps     = motorSteps;
     this.stepPort       = stepPort;
     this.directionPort  = directionPort;
 }