Geeetech3D / Smartto-Eclipse

3D printer firmware and hardware of for stm32
GNU General Public License v2.0
25 stars 16 forks source link

added support for GCODE commands: #13

Closed thatjoshguy closed 6 years ago

thatjoshguy commented 6 years ago

I have added in the missing support for GCODEs M201, M203, M204, and M205:

I added variable travel_acceleration to setting.h but it is not yet being used in motion planning. This setting would affect acceleration on X and Y axis (possibly Z) for travel only moves (when not extruding). We will need to decide how this is handled, as many slicers only use G1 command for all moves vs. G1 for print moves and G0 for travel. This may not be necessary at all.

thatjoshguy commented 6 years ago

note: I removed the "store settings" function from your original functions as these settings should only be stored to EEPROM when M500 GCODE is sent.

Geeetech3D commented 6 years ago

@thatjoshguy Thx! we'll review your code in a few hours