g-code

How to send one gcode command over USB?

How to send one gcode command over USB? Question: I am trying to write a simple python script that sends a gcode command to my wanhao D9 motherboard printer, running Marlin. I am running the python script on a raspberry pi that is connected to the printer via USB. import serial ser = serial.Serial(“/dev/ttyUSB0”, 115200) …

Total answers: 1