mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 08:47:49 +01:00
@@ -34,8 +34,8 @@
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.7"
|
||||
inkscape:cx="770.76884"
|
||||
inkscape:cy="412.71372"
|
||||
inkscape:cx="661.33551"
|
||||
inkscape:cy="332.89105"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer2"
|
||||
showgrid="false"
|
||||
@@ -403,10 +403,6 @@
|
||||
x="150">(None)</tspan></text>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g328" />
|
||||
<g
|
||||
id="g952" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -6,14 +6,14 @@ if len(sys.argv) != 3:
|
||||
print("Not 2 arguments")
|
||||
exit()
|
||||
|
||||
gcode = sys.argv[1]
|
||||
gcode = sys.argv[2]
|
||||
if not os.path.isfile(gcode):
|
||||
print("File doesn't exist!")
|
||||
exit()
|
||||
|
||||
ser = serial.Serial()
|
||||
ser.baudrate = 115200
|
||||
ser.port = sys.argv[2]
|
||||
ser.port = sys.argv[1]
|
||||
ser.open()
|
||||
|
||||
if not ser.is_open:
|
||||
|
||||
Reference in New Issue
Block a user