I want to talk to my Duet2Wifi via USB COM. I know there's YAT and it's working pretty well. But I need to seperate my G-Code after the slicing process to send it to my board (because I use a special kind of printer). I could use Wifi but I'm worried about the higher latency. So I chose Python for the communication. Using PySerial and PyUSB (modifying the Duet driver through the libusb library), I can't get the board to answer my commands. I provided both source codes down below. Does anyone have some ideas?
Those are some quite specific comments and questions. I think youd be better off going to the Duet forums