def setup(self): limSwitch = DigitalInput(self.tamp, CONVEYOR_LIMIT_SWITCH) conveyorMotor = Motor(self.tamp, BELT_MOTOR_CONTROLLER_DIRECTION, BELT_MOTOR_CONTROLLER_PWM) conveyorEncoder = Encoder(self.tamp, BELT_MOTOR_ENCODER_YELLOW, BELT_MOTOR_ENCODER_WHITE) self.pickup = PickupModule(Timer(), limSwitch, conveyorMotor, conveyorEncoder) self.pickup.start()