Ejemplo n.º 1
0
  /**
   * ************************************************************************* Motor interface
   * functions
   *
   * @throws RetryException ************************************************************************
   */
  public void setMotorRPM(double rpm, int toolhead) throws RetryException {
    if (fiveD == false) {
      sendCommand(_getToolCode() + "M108 R" + df.format(rpm));
    } else {
      extrusionUpdater.setFeedrate(rpm);
    }

    super.setMotorRPM(rpm, toolhead);
  }