Skip to content

Commit

Permalink
increase default PWM frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed May 23, 2023
1 parent 78d0b16 commit 55d8dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/src/StepperWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ template <class T> void StepperWrapper::init(T *stepper) {
TMC5160->pwm_ofs(30); // initial value: PWM amp offset
}
stepper->pwm_ampl(128); // user defined max PWM amp offset
stepper->pwm_freq(0b01); // set PWM Frequency
stepper->pwm_freq(0b10); // set PWM Frequency
delay(150); // stand still for automatic tuning AT#1

// Chopper configuration
Expand Down

0 comments on commit 55d8dc2

Please sign in to comment.