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); }
public Servo(ILogger logger, PwmDriverPCA9685 pwmDriver) { this.logger = logger; this.driver = pwmDriver; }