예제 #1
0
        public Plotter(ILogger logger)
        {
            this.logger = logger;
            syncDelay.Calibrate();

            this.motorDriver = new PwmDriverPCA9685(logger, 0x60, 1600);
            this.servoDriver = new PwmDriverPCA9685(logger, 0x41, 50);
            this.motorX      = new StepperMotor(logger, motorDriver, 1, 40);
            this.motorY      = new StepperMotor(logger, motorDriver, 2, 40);

            this.servo = new Servo(logger, servoDriver);
        }
예제 #2
0
 public Servo(ILogger logger, PwmDriverPCA9685 pwmDriver)
 {
     this.logger = logger;
     this.driver = pwmDriver;
 }
예제 #3
0
 public Servo(ILogger logger, PwmDriverPCA9685 pwmDriver)
 {
     this.logger = logger;
     this.driver = pwmDriver;
 }