--- tag: m0907 title: Set Motor Current brief: Set motor current via digital trimpot author: thinkyhead requires: DIGIPOTSS_PIN|HAS_MOTOR_CURRENT_PWM|DIGIPOT_I2C|DAC_STEPPER_CURRENT group: control codes: [ M907 ] notes: parameters: - tag: B optional: true description: Current for the E1 stepper (Requires `DIGIPOTSS_PIN` or `DIGIPOT_I2C`) values: - tag: current - tag: C optional: true description: Current for the E2 stepper (Requires `DIGIPOT_I2C`) values: - tag: current - tag: D optional: true description: Current for the E3 stepper (Requires `DIGIPOT_I2C`) values: - tag: current - tag: E optional: true description: Current for the E0 stepper values: - tag: current - tag: S optional: true description: Set this current on all steppers (Requires `DIGIPOTSS_PIN` or `DAC_STEPPER_CURRENT`) values: - tag: current - tag: X optional: true description: Current for the X stepper (and the Y stepper with `MOTOR_CURRENT_PWM_XY`) values: - tag: current - tag: Y optional: true description: Current for the Y stepper (Use `X` with `MOTOR_CURRENT_PWM_XY`) values: - tag: current - tag: Z optional: true description: Current for the Z stepper values: - tag: current examples: --- Set digital trimpot motor current using axis codes `X`, `Y`, `Z`, `E`, plus `B` and `S`. The unit used for current depends on the type of stepper driver.