TIRED OF DOWNLOADING PROGRAMS ONLY TO FIND THEY LACK PACING FOR FILES
I investigated more than a dozen programs, none of which offered the basic functionality I needed. I want the program to open a text file and feed lines to the serial port, but waiting for a prompt character from the far end before sending each line.
PYTHON AND A WEE BIT OF CODING TO HANDLE THE JOB
It was a teeny bit of Python code to accomplish the task of reading all the lines of the text file and then looping, reading until we see the prompt character '>' from the Arduino then sending a line. When the input text file is exhausted we close the com port and go away.
No comments:
Post a Comment