prusa3d / MM-control-01

MMU 3-axis stepper control
GNU General Public License v3.0
92 stars 104 forks source link

Added optional arguments to the F command giving load/unload speed #179

Open mdjurfeldt opened 3 years ago

mdjurfeldt commented 3 years ago

This supports a corresponding extension of the printer M403 command (see PR #2914 in Prusa-Firmware MK3 branch).

Speeds are given as a factor compared to normal speed such that, e.g., 0.5 means half speed. In order to avoid having to enable scanf_flt, speeds are given in 16 bit fixed point arithmetic with bit 8 being ones, so 1.0 is transmitted as 256.