Dynamic forms

All forms now generated from a single function. Huge reduction in code and easier to make global changes.
This commit is contained in:
lawgicau
2021-07-14 17:35:30 +10:00
parent a4eadd10b6
commit 8707323b18
5 changed files with 343 additions and 556 deletions

View File

@ -12,7 +12,8 @@ G28 ; home all axes
;G29 ; probe ABL
;M420 S1 ; restore ABL mesh
;customstart
G0 Z1; fix for delta printers that home at max`;
G0 Z3; fix for delta printers that home at max
`;
var commonEnd = `G28 X0 ; home X axis
M106 S0 ; turn off cooling fan
@ -20,4 +21,5 @@ M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 ; disable motors
M501 ; restore previous EEPROM values
;customend`;
;customend
`;