Skip to content

Commit a53b852

Browse files
v2.0.7 -> v2.0.9
1 parent 6edc65b commit a53b852

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

L-Code-v2.0.7.py renamed to L-Code-v2.0.9.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#L-Code: The first firmware for Lego 3D printer architectures
2-
#The latest version is version 2.0.7
2+
#The latest version is version 2.0.9
33

44
#package imports
55
import time, random, force_sensor, motor
@@ -36,6 +36,8 @@
3636
#M278: set filamnt diameter
3737
#M355: deactivate coreXY mode
3838
#M356: activate coreXY mode
39+
#M403: deactivate absolute mode
40+
#M404: activate absolute mode
3941
#M502: reset parameters
4042

4143
#variable globalization
@@ -579,6 +581,13 @@ def M356():
579581
print(color.GREEN, "M356")
580582
light_matrix.write("M356")
581583

584+
def M403():
585+
global absolute
586+
absolute=0
587+
588+
def M404():
589+
global absolute
590+
absolute=1
582591

583592
def M502():
584593
global xpos, ypos, zposC, zposD, xlength, ylength, iniz, iniz2, motoron

0 commit comments

Comments
 (0)